Skip to main content
Question

Returning 404 error trying to get the file using App access token using API

  • May 23, 2025
  • 1 reply
  • 30 views

Forum|alt.badge.img

API : https://api.box.com/2.0/file/:fileId

I created APP and using the configurations to generate the JWT access token , I am able to create the folder and upload the file  through API but able to retrieve the file and getting following error 

{
    "type": "error",
    "status": 404,
    "code": "not_found",
    "message": "Not Found",
    "request_id": "wpvus8hd6o0b3f5s"
}
 
Help is greatly appreciated

 

1 reply

Forum|alt.badge.img

Hi Shashank,

With this level of detail, it is impossible to help you.

The error is telling you the file was not found, so where do you get the file id to start the download?

Is that particular file owned by another user and you need to use the as-user header?

Please elaborate.