We are successfully making the Stage 1 GET request and getting a valid response.
Then we are making the POST request to the https://[server].suitetalk.api.netsuite.com/services/rest/oauth/oauth2/v1/token with parameters:
Array
(
[code] => afb99e2f1efe5d6bc04b391abd669056a643947b06b9bc95aebfef54c1c4382f
[redirect_uri] => <our URI>
[grant_type] => authorization_code
)
But we are receiving the response:
{"error":"invalid_client"}
We are sending the correct Client ID at Stage 1 of the OAuth process, and the login and accepting the OAuth request seem to be working normally.
What does this error mean?
thanks,
Ari