Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Oauth v2.0 client credentials flow getting invalid_grant
Hello,
I'm getting an odd issue with the OAuth 2 client credentials flow.
I'm developing an app that will connect to Netsuite to get some customer data and I've come across an odd issue. On my test machine, when I'm running it to compile the app and debug app, it used to have no issues connecting to netsuite and retrieving the data I request. Now, whenever I try to connect to netsuite rest api and get the access token, it is returning back a 400 error with an error message of "invalid_grant" (the auth/oauth2/v1/token ENDPOINT)
On the same machine, if I use postman to get the access token, there is no error message, and I get the access token with no issues and can use the token to acesss the REST API