Jump to content

"The Client ID, Client Secret, and/or 3rd Party Application are incorrect" on token call


 Share

Recommended Posts

I am getting the following error after auth while attempting to retrieve the token from POST https://api.intacct.com/ia/api/v1-beta2/oauth2/token.

{
  "code": "invalidRequest",
  "message": "The Client ID, Client Secret, and/or 3rd Party Application are incorrect",
  "errorId": "REST-1216",
  "additionalInfo": {
    "messageId": "IA.THE_CLIENT_ID_CLIENT_SECRET_AND_OR_3RD_PARTY_APPLICATION_ARE_INCORRECT",
    "placeholders": {},
    "propertySet": {}
  },
  "supportId": "L5sQ7EB069%7EZfnxgP0d2_--9iMWOkbWGgAAAAI"
}

 

 

Request Body (redact [...])

  1. grant_type: "authorization_code"
  2.  code: "eyJhbGciOiJ[...]"
  3.  client_id: "8b[...].app.sage.com"
  4.  client_secret: "bd[...]"

 

 

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Louis helped me understand the issue. The REST API is currently in BETA and does not allow calls from production environments. However, he did point me towards how I can achieve what I was trying to do via the XML API.

Thanks.

  • Thanks 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...