Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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 went back to a revision built a few months ago, and it fails in exactly the same way. I am using a Texas Instruments CC3200 processor. I use the TI library for the OTA process. It can list the files in the repository, but when I try to access them via the link provided the device just hangs. It subsequently reboots. Here is some diagnostic output from the process.
sl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com
OtaClient_ConnectServer: http_connect_server api.dropbox.com
[00:00:11.0967] OTA run (0)
sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=3.2.0
OtaClient_UpdateCheck: call http_build_request /1/metadata/auto/
CdnDropbox_SendReqDir: uri=/2/files/list_folder
metadata file=/3.2.0/f00_sys_servicepack.sig, size=256
metadata file=/3.2.0/f43_sys_servicepack.ucf, size=31348
metadata file=/3.2.0/f80_sys_mcuimgA.bin, size=151300
metadata file=/3.2.0/f80_www_logo.png, size=18406
metadata file=/3.2.0/f80_www_main2.html, size=5830
sl_extLib_OtaRun: OtaClient_UpdateCheck, numUpdates=5
[00:00:12.0260] OTA run (0)
sl_extLib_OtaRun: OtaClient_GetNextUpdate: file=/3.2.0/f00_sys_servicepack.sig, size=256
OtaClient_ResourceMetadata: call http_build_request /1/media/auto
OtaClient_ResourceMetadata: file flags=0,metadata flags=0
OtaClient_ResourceMetadata: remove old signature file /sys/servicepack.sig
CdnDropbox_SendReqFileUrl: uri=/2/files/get_temporary_link
[00:00:12.0556] OTA run (0)
sl_extLib_OtaRun: ResourceMetadata CDN file URL = https://dl.dropboxusercontent.com/apitl/1/AAAPogfVrgUuU60x7jjBJL-jMrYmSHG0O8Gb_ReadFileHeaders: domain=dl.dropboxusercontent.com, file=/apitl/1/AAAPogfVrgUuU60x7jjBJL-jMrYmSHG0O8GbVwAf7iHMQOISR2yPAH3YGlgsUr
After the last line the device hangs until the system watchdog reboots it, then the process repeats. Any idea what I might be running into?
Thanks,
Vic Berry
@BAB1 The length of the returned link depends on a few things, including the file path, based on how it's implemented on the Dropbox servers. It's possible the length did increase due to some backend change recently.
I'm checking with engineering to see what may have changed here, and to see if we can potentially revert it, but I can't make any promises with respect to that right now.
Unfortunately, I don't have any other workarounds to offer.
Thanks Greg.
Look forward to hear from you.
We have the same problem here with more then 100K devices in the market at the moment. Therefore we ask you to find a solution to this as well.
Hello Greg, please escalate this issue because there are alot hundreds thousands of user that have an issue about this. Only our users are more then 100K.
@IOT_Developer I have escalated this to engineering. I'll follow up here once I have an update.
Hi Greg,
I would like to add my voice to the chorus of people asking for this to be escalated. I have thousands of devices that are affected by this also, and it would cost us a prohibitive amount of money to replace them in the field. Additionally the customer support issues would be a nightmare.
Thanks,
Vic
@flygecko Thanks for the additional feedback!
Hi Greg,
We also have 100K devices installed in the different locations in USA. We cannot able to do OTA. Our customers are affected because of this and it impact our business. Please escalat the issue and revert the recent changes ASAP.
Thanks
Sundar
@Greg seems like a very big issue to me.
I can't imagine honestly 300K people complaining to dropbox. Can't you?
Do you have any updates?
Thanks for the feedback!
I have escalated this, and I will follow up here once I have an update.
Hi there!
If you need more help you can view your support options (expected response time for a 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!