I’m trying to authenticate by the first time with my credentials. I recieved my code with my callback route, but when I try to use POST https://oauth.pipedrive.com/oauth/token I get the following response:
{
“success”: false,
“message”: “Invalid grant: authorization code is invalid”,
“error”: “invalid_grant”
}
My request body is:
{
“grant_type”: “authorization_code”,
“code”:,
“redirect_uri”:
}
I also tried generating another code and using it, but the same error appeared with the new code.