Cannot authorize status 401
I'm trying to get a list of folders but I keep hitting the same error:
* Curl_http_done: called premature == 0 * Connection #0 to host api.box.com left intact {"type":"error","status":401,"code":"unauthorized","help_url":"http:\/\/developers.box.com\/docs\/#errors","message":"Unauthorized - Cannot authorize with this service","request_id":"***number removed for privacy***059ce72a2dda8d"}%
I just use the following in the terminal:
curl -v https://api.box.com/2.0/folders/0 -H \ "Authorization: Bearer {token}"
Thanks!
Please sign in to leave a comment.
Comments
0 comments