Unable to create mobile authorization code

Hello!

I was following the Mobile Authorization API process flow step by step without any errors until I reached Request mobile authorization code step. I tried several times but got this error in response every time:

{
  "message": "requires permission 'payments_write_in_person'",
  "type": "forbidden"
}

This is strange because in the previous step(Obtain OAuth token request) I added PAYMENTS_WRITE_IN_PERSON to the scopes list.

If that scope was in the original Authorize call before the ObtainToken call you should have the permission. Can you confirm that the permission is in the URL of the Authorize screen?

Thanks for the quick reply, it solved the problem! I did not notice at all that there is the scope parameter in the Authorize call.

Glad to hear that you got it to work as expected. :slightly_smiling_face: