- Mark as New
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-31-2019
03:34 PM
10-31-2019
03:34 PM
REST authentication error: User is unauthorized to perform this operation
After generating a new bearer token, I'm unable to use this simple API:
curl -X GET -H "Authorization: Bearer <access-token>” -H "Content-Type: application/json" "https://rest.apisandbox.zuora.com/v1/payments?accountId=<account-id>” { "success" : false, "processId" : "F790716ACB316649", "reasons" : [ { "code" : 50000000, "message" : "User is unauthorized to perform this operation. Please contact your company administrator for permission." } ]
What can be wrong? The API user has correctly the API role which has API write permissions. I've tried with a couple of accounts with the same results. Maybe something needs to be activated on my instance?