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

Could not get file info

New post

Comments

5 comments

  • Kourtney

     

     

    The structure of the get file info call is: 

     

    https://api.box.com/2.0/files/file_id

     

    It looks like your accessing a file via the content manager. Does the token you're using to make this call have collaborator access or own this file? If not, it's expected you'd receive a 404. 

     

    If you need further guidance and can provide your file ID's please do. If you're not comfortable sharing them here please open a case including all information at support.box.com!

    0
    Comment actions Permalink
  • EvgenKasyan
    Does the token you're using to make this call have collaborator access or own this file? 
    Yes, this file has no collaborators. And I found that owner of this file is not me. But I can view this file via content manager... Here is file id - 4***phone number removed for privacy***
    0
    Comment actions Permalink
  • Kourtney

     Who is the user associated with your token? You will need to have the owner add that user as a collaborator in order to make a successful API call. 

    0
    Comment actions Permalink
  • EvgenKasyan

    Hi  .

    I try to explain.

    Owner of file is app A.

    And I try get file via app B.

    Thanks, Evgen.

    0
    Comment actions Permalink
  • EvgenKasyan

    Hi  .

    I have 2 applications.

    First app uses for creating folders and files in box.

    And second for reading.

    Is it possible grant access to second app?

    Thanks, Evgen.

    0
    Comment actions Permalink

Please sign in to leave a comment.