Welcome to the new Box Support website. Check out all the details here on what’s changed.

Unable to connect programatically using SDK - Error 400

New post

Comments

2 comments

  • WMCLLP

    This is the detailed error message:

     

    Message - The API returned an error code: 400

    Response Code - 400

    Response - {"error":"invalid_request","error_description":"Cannot obtain user token based on the enterprise configuration for your app"}

    com.box.sdk.BoxAPIException: The API returned an error code: 400

            at com.box.sdk.BoxAPIResponse.(BoxAPIResponse.java:70)

    0
    Comment actions Permalink
  • crajan

    Interesting. My guess is the OAuth credentials that you used to connect were associated with the app users you used initially so when you deleted them the credentials went as well. You might have to re-auth the new app users you've created and login them in with the new credentials. 

    0
    Comment actions Permalink

Please sign in to leave a comment.