Transfering content from App Users to Service Account

Answered
New post

Comments

3 comments

  • Kourtney

     

    Would you be able to provide the full body response of the error message, a date/time/timezone you received the error, and your client ID? I can a closer look at this from the backend. 

     

    If you aren't comfortable sharing that information here, please open a ticket with our Product Support team at support.box.com and include the info above. 

     

    Best, 

    Kourtney

    Box Technical Support Engineer

    0
    Comment actions Permalink
  • concinnity

    Thanks for the quick response .

     

    Here are the response fields captured in the exception returned by the SDK:

     

    Message: None
    Status: 403
    Code: None
    Request ID: None
    Headers: {'Transfer-Encoding': 'chunked', 'BOX-REQUEST-ID': '0or29aumrfivnqrh64jej5bdukp', 'Strict-Transport-Security': 'max-age=31536000', 'Connection': 'keep-alive', 'Date': 'Tue, 02 Jul 2019 19:15:58 GMT', 'WWW-Authenticate': 'Bearer realm="Service", error="insufficient_scope", error_description="The request requires higher privileges than provided by the access token."'}
    URL: https://api.box.com/2.0/users***phone number removed for privacy***/folders/0
    Method: PUT
    Context Info: None

     

    This corresponds to a request sent today, July 2, at 3:15pm EST. The client ID is o7or2lm976x0s5adtou5z8tuxf777c7f.

    0
    Comment actions Permalink
  • Kourtney

      Thanks so much for the info! In order for this call to be successful you will need to change the application scope to "enterprise" and ensure the "manage users" scope is enabled. After making these changes, ensure you re-authorize the application in the admin console and obtain a new token. 

    0
    Comment actions Permalink

Please sign in to leave a comment.