Missing or unknown auth code

ANavghane
Member

Hello All,

I am new to hubspot OAuth integration.

this is my request body:

 

 

{
      grant_type: 'authorization_code',
      client_id: '549a5b94-63de-433f-9665-blabla',
      client_secret: 'xxxxxxxxxxxxxx',
      redirect_uri: 'blabla',
      code: 'eu1-950d-da6c-4c18-b1d2-cd733a5de4aa'
}

 

 

 After getting the authorization code from the browser I am hitting postman API with the above request body to get refresh & access tokens.

Here is the error I am getting.

 

 

{
    "status": "BAD_AUTH_CODE",
    "message": "missing or unknown auth code",
    "correlationId": "7bacae46-e492-4e2b-ac0c-0df0f7ccd044"
}

 

 

Thanks in advance.

0 Upvotes
1 Reply 1
dennisedson
Community Manager

@ANavghane 

Is this still occurring?  can you take a screengrab of your postman setup (blur out the secret)

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes