Search code examples
box-api

What is the Box.com configuration setting to allow non-service accounts to use the API?


I have my box.com app set up with the following permissions:

My security settings for application

setup

admin console -> business settings -> apps -> (under actions) -> click on ellipses of your app -> view app authorization

app auth

Yet Right now, I get the error message described in this issue:

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

--> Box API token request enterprise configuration issue

What is the Box.com configuration setting to allow non-service accounts to use the api?


Solution

  • In your app, you can go to the section "User Access" and set it to "All Users"

    enter image description here

    All existing app authorizations now need to be reauthorized.

    To do this... admin console -> business settings -> apps -> (under actions) -> click on ellipses of your app -> view app authorization

    Notice in the below you might see "only app users can use app"

    app auth

    If so... Reauthorize the app admin console -> business settings -> apps -> (under actions) -> click on ellipses of your app -> reauthorize

    It should now say "All users can connect."

    enter image description here