In which phase of the OAuth protocol flow are at the stage you are mentioning? The token request you've shared doesn't specify the grant_type
parameter. So perhaps this is missing, and therefore the authorization server can't handle the authorization code
.