Skip to main content

Downloading From Public Folder Via API

  • February 13, 2024
  • 1 reply
  • 155 views
Downloading From Public Folder Via API

Hello! I apologize if this is a silly question, but I am confused! Can someone help me figure out why this query isn’t working? I am hoping to retreive the file in question via the api (Box).


The file is public and exists, but the response I get is 404 not found.


Did this topic help you find an answer to your question?

1 reply

CodeBoxSeb
  • Participating Frequently
  • 58 replies
  • February 14, 2024

Welcome to the forum @user128 🙂


I don’t think the value you entered in the shared_link field is correct. Your value is containing both : a shared link and a file ID. You should include the shared_link value only.


Plus, do you have access to this file ?

Most of the time, when you have a 404 while running Box API, it’s because you don’t have the appropriate permissions to access the file.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings