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

Insufficent scope when trying to make a call using As-User header

Answered
New post

Comments

3 comments

  • Kourtney

    Hello , 

     

    A few possibilities I can think of: 

    • If this is a JWT app, did you reauthorize it in the admin console after enabling the as-user header? 
    • Did you obtain a new token pair after enabling the as-user header? 
    • Are you using a primary admin or co-admin token with high enough privileges to make the call? 
    0
    Comment actions Permalink
  • tszatkowski1
    • It's not JWT.
    • Yes, many times.
    • I made sure that I use a co-admin account with "Log in to users' accounts" permission.
    0
    Comment actions Permalink
  • tszatkowski1

    The scope required for As-User calls is `admin_on_behalf_of` 

    0
    Comment actions Permalink

Please sign in to leave a comment.