Skip to main content

403 Error coming while getting enterprise Users.

  • December 27, 2023
  • 1 reply
  • 163 views

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 Box
  • Developer Advocate
  • 553 replies
  • December 27, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings