We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
flygecko
8 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 ...
Greg-DB
Dropbox Community Moderator
8 years agoThanks 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?
flygecko
8 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-DB8 years ago
Dropbox Community Moderator
No, there's no maximum size for the link.
- BAB18 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
- Greg-DB8 years ago
Dropbox Community Moderator
BAB1 No, unfortunately we can't administratively change the length of that link.
The length of these links can depend on the original file path though, so one solution may be to make that file path as short as possible, in order to get the resulting link short enough to fit in your buffer.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!