Could not get file info
Hi All!
I have url - https://dfya.app.box.com/master/appId/folderId/0/fileId.
When I put this url in browser all working fine and I can see image (and I logged in box of course).
But I can not get file info API call.
Here is my url:
https://dfya.app.box.com/2.0/files/fileId?fields=expiring_embed_link
And return 404.
And I tried:
https://dfya.app.box.com/2.0/appId/folderId/0/fileId?fields=expiring_embed_link
And anyway I fetch 404.
Could you please help me?
Best regards, Evgen.
-
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!
Please sign in to leave a comment.
Comments
5 comments