Skip to main content

403 Error coming while getting enterprise Users.

  • Dec 27, 2023 10:03 AM UTC
  • 1 reply
  • 3 views
  • Translate All

Getting below error in /users API
Request -
curl -i -X GET “https://api.box.com/2.0/users” \ -H “authorization: Bearer <ACCESS_TOKEN>”

Response -

{ “type”: “error”, “status”: 403, “code”: “access_denied_insufficient_permissions”, “help_url”: “http://developers.box.com/docs/#errors”, “message”: “Access denied - insufficient permission”, “request_id”: “qcyqnkhl1oprc6uk” }

What permission or paid account needed to access above API ?

1 reply

rbarbosa
  • Developer Advocate
  • Dec 27, 2023 12:37 PM UTC

Hi @shailesh.khandare17, welcome to the forum!

Check your application scopes in the developer console. All you need is the Manage Users permission.

Depending of the type of application, you may need to submit it for administrator approval after changing the configurations if you’re using JWT or CCG.

If this is the case, they type of account can have an impact.

Let us know which is your case.

Cheers

Translate