Valued Scholar

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" "<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?