Invalid authorization code and invalid grant

I am using “” api to get access token using postman
I am passing below parameters in query string

  1. code={oauth-code generated}
  2. grant_type=authorization_code
    3)redirect_uri={myapp url}

I am passing below header variable

  1. Content-Type=application/x-www-form-urlencoded



I am getting below JSON response

“reason”: “Invalid authorization code”,
“error”: “invalid_grant”

What might be causing “Invalid Authorization Code” ?

Welcome, @dparkar00,

Thank you for posting in the Developer Forum. The configuration for the access token is correct. Have you verified the correct Client_Id and Client_Secret are being used?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.