This error occurs when the authorization code was generated through an authorization server (eg. /oauth2/v1/authorize) and then verified against a different authorization server (eg. /oauth2/default/v1/token). Can you please check the URLs and try again?