NETSUITE_1
Issue
Glean couldn't validate the certificate or obtain an OAuth 2.0 access token for your NetSuite connector. The certificate, private key, account details, or Machine-to-Machine (M2M) application mapping may be invalid.
Resolution
- Verify the Account ID for the NetSuite environment you're connecting. Include the environment suffix for sandbox accounts, as described in the NetSuite search connector setup guide.
- Verify that the Client ID matches your OAuth 2.0 server application. Enable the Client Credentials grant and the REST Web Services scope for Representational State Transfer (REST) requests.
- In NetSuite, open Setup → Integration → OAuth 2.0 Client Credentials (M2M) Setup. Verify that the application, service account, role, and uploaded certificate are mapped together. Use the Certificate ID from that mapping in Glean.
- Verify that the certificate is active and hasn't expired. Upload the X.509 certificate and its matching private key in the formats specified in the setup guide.
- Retry validation after saving any changes. Don't rotate credentials solely because validation reports a timeout, rate limit, or temporary service error. Wait and retry those failures first.
If authentication succeeds but a query is rejected, see NETSUITE_2.
For additional assistance, contact Glean Support. Don't share private keys, access tokens, or client assertions.