Forum Discussion

YK0820's avatar
YK0820
Explorer | Level 3
4 years ago

Get 403 error code in download

I'm using Dropbox to download files from developing embedded devices. The devices use HTTP range request for split download due to hardware limitation.

・I changed the download link from dl=0 to dl=1.
・First, the device access to the download URL with range header, and get redirect URL. From redirect URL, the device receive split files with HTTP 200 status code.
・Secondly, the device access to above redirect URL with another range header, and occur download error with HTTP 403 status code.

Why receive 403 error code? How can I correct this issue?

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    I see you opened this in API section of the forum, but this issue doesn't appear to be related to the API itself. (You don't seem to be referring to calling the actual Dropbox API, but rather are interacting with Dropbox shared links directly.) I'll try to offer whatever help I can though.

     

    I tried to replicate the scenario you described here, just using curl, and it seemed to work for me. Can you share a sample set of requests/responses showing the issue so I can take a look?

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers804 PostsLatest Activity: 5 hours ago
217 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!