Skip to main content
Question

Cannot authorize with this service

  • May 22, 2025
  • 2 replies
  • 2 views

Forum|alt.badge.img

Hi,

 

having problems authenticating.  I put the developer's token into the query, but I only get 401.

If intentionally mangle the URL, I don't get any response at all, so I know that its actively rejecting the request.

 

any help please. thanks.

 

curl https://api.box.com/2.0/folders/0 -H "Authorization: Bearer DEV_TOKEN"


{"type":"error","status":401,"code":"unauthorized","help_url":"http:\/\/developers.box.com\/docs\/#errors","message":"Unauthorized - Cannot authorize with this service","request_id":"removed for privacy0573baede690bf"}

2 replies

Forum|alt.badge.img

same command works with a free developer account, so API must be disabled for my company.


Forum|alt.badge.img

The Box Admin for your company must authorize your application. Here's the documentation on how to do that: https://community.box.com/t5/For-Admins/Enabling-Custom-Built-Applications/ta-p/2188