You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
flygecko
7 years agoExplorer | Level 4
Over the air download via API fails today, worked yesterday.
Hi, I have an embedded device that downlopads firmware updates over the air via the DropBox API. Downloads worked fine yesterday, and fail today. The code has not changed since then, and I even ...
flygecko
Explorer | Level 4
What I have seen on my side is that the filename returned is 553 bytes in length. The TI code has a buffer length of 512. This would most certainly cause an issue. How big is the url you received when you retrieve the apitl link?
Thanks in advance,
Vic
Greg-DB
7 years agoDropbox Staff
Thanks for the additional information.
The length of the returned link can depend on the length of the original file path (as well as potentially other factors), so we can't guarantee any particular maxmimum length unfortunately. (For reference, mine is also coming out longer than 512 bytes.)
So, this may have just been a result of the file path getting longer and resulting in a URL larger than that buffer size. I'm afraid I don't have a solution on the API side, since the link can be expected to get that big. Are you able to increase the buffer size?
- flygecko7 years agoExplorer | Level 4
In future revisions most likely. This does not bode well for any devices already out in the field. I will work on fixing TI's code and see what I can do. Thank you for the help.
- flygecko7 years agoExplorer | Level 4
Is there a maximum size? If I am going to be fixing this I would like to do it only once.
Thanks,
Vic
- Greg-DB7 years agoDropbox Staff
No, there's no maximum size for the link.
- BAB17 years agoExplorer | Level 4
Hi Greg,
I have faced the same problem. There are over 3K of our devices out in the field and we are helpless at this point of time. The size of link until last week was less than 400 bytes and we suddenly see it crossing 550 bytes. We have provided OTA for these 3K devices atleast Twice as of now and no issues until 2 days back.
It will be really helpful if Dropbox can help us by reducing this link length to less than 400 bytes like before for time being or for a few weeks. Meanwhile, We will work towards updating the firmware remotely and resolve this issue in the existing hardware.
Appreciate your earliest support in this regard.
Thanks
Sri
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days agoIf 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!