Skip to main content
Question

Reasons for 400 response on /2.0/users/me

  • May 22, 2025
  • 1 reply
  • 4 views

Forum|alt.badge.img

Hi,

 

I'm having an issue with current user endpoint. Following request is failing with 400 status code. According to exception details, the response body is empty or doesn't contain box error details. This issue is happening only on production server, and I can't reproduce it locally.

Can anybody tell what is the possible reasons for this call to fail?

 

Thank you

	
https://api.box.com/2.0/users/me?fields=login,name,status,space_amount,job_title,id,space_used,role

1 reply

Forum|alt.badge.img

I've discovered that issue was due to empty authorization token ex Authorization: "Bearer ". If you have an empty token, box responds with Bad Request instead of Uauthorized