Skip to main content
Question

The API returned an error code

  • May 22, 2025
  • 2 replies
  • 86 views

Forum|alt.badge.img

I am currently using trial version of Enterprise and trying to use box java sdk to connect to Box.

I am getting this exception:

The API returned an error code

{"error":"unauthorized_client","error_description":"This app is not authorized by the enterprise admin"}

Does trial version of Enterprise support 2fA

2 replies

Forum|alt.badge.img

Hello, 

Any application that is made needs to be approved by an administrator in the enterprise. Here are instructions on how to do that. 

Hope this helps, 

Alex, Box Developer Advocate


Forum|alt.badge.img

Thanks Alex...