Skip to main content

403 forbidden error in boxcli using JWT authentication

  • March 5, 2024
  • 1 reply
  • 161 views

Hi all,

I created an app using JWT authentication and assigned it all permissions in the dev portal, and subsequently authorized it. When trying to run basic commands like “box users”, I am getting a 403 forbidden error. The app has the manage users checkbox checked, and has been authorized. Any ideas why I’m getting an error here? I appreciate your insights, thanks.

1 reply

rbarbosa Box
  • Developer Advocate
  • 553 replies
  • March 11, 2024

Hi @clarbgb , welcome to the forum!

First I would ask you to confirm if the application is indeed authorized in the admin console. This is a 2 step process, you submit it and then the admin approves it.

If in the mean time you have updated the application scopes, then it must me re-submitted and approved.

If all that checks out then check if the application is App+ Enterprise Access:

Let us know if this helps.


Reply


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