Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

invalid_grant when using Java SDK

New post

Comments

3 comments

  • Alex Novotny

    Hello, 

    Did you happen to make any changes to the scopes/access level after authorizing? If so, you will need to reauthorize in the admin console. 

    Alex

    0
    Comment actions Permalink
  • Robert Greene

    I haven't done so - it looks like it is properly authorized.

     

    0
    Comment actions Permalink
  • Robert Greene

    I was able to resolve this. I was using the wrong value for enterprise ID -- I was using the service account email address rather than the multi-digit enterprise ID from the admin account page.

    0
    Comment actions Permalink

Post is closed for comments.