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

Unable to download file from Box using box-java-sdk getting Exception

Answered
New post

Comments

2 comments

  • Kourtney

    Hello, 

     

    This error indicates that the user associated with your token does not have access (by ownership or collaboration) to the file you're trying to download. You will need to add this user as a collaborator or obtain a token for a user that already has access. 

     

    You can find out the user associated with your current token by using this endpoint: https://developer.box.com/reference/get-users-me/

     

    Best, 

    Kourtney

    Box Technical Support Engineer

    0
    Comment actions Permalink
  • Thrilok Ponnuru

    HI Kourtney I am also getting the same error. I am using my credentials to download the file and I can see that I've editor access to this file. Could you please help me how to resolve this issue.

    0
    Comment actions Permalink

Please sign in to leave a comment.