Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
sundares80
2 years agoExplorer | Level 3
OTA update fails in CC3200
Hi All,
We are using the Dropbox API to do an OTA upgrade. We have a webclient application running on the TI microcontroller CC3200. We are using the Drop Box API from 2017 onwards, and it is working fine. When we tested the OTA functionality yesterday, it was unable to receive the CDN file URL.
It is able to receive the file information from Dropbox but is unable to get the temporary link from Dropbox.
Do you know what is causing this issue? Is there any recent API upgrade that has failed to respond?
Please help us to fix this issue ASAP.
TI CC3200 logs:
sl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com
OtaClient_ConnectServer: http_connect_server api.dropbox.com
0 OTA run = 0
sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid01_Pid00_Ver0302100000
OtaClient_UpdateCheck: call http_build_request /1/metadata/auto/
CdnDropbox_SendReqDir: uri=/2/files/list_folder
metadata file=/Vid01_Pid00_Ver0302100000/f80_sys_mcuimgA.bin, size=142888
sl_extLib_OtaRun: OtaClient_UpdateCheck, numUpdates=1
0 OTA run = 0
sl_extLib_OtaRun: OtaClient_GetNextUpdate: file=/Vid01_Pid00_Ver0302100000/f80_sys_mcuimgA.bin, size=142888
OtaClient_ResourceMetadata: call http_build_request /1/media/auto
OtaClient_ResourceMetadata: file flags=80,metadata flags=80
CdnDropbox_SendReqFileUrl: uri=/2/files/get_temporary_link
0 OTA run = 0
sl_extLib_OtaRun: ResourceMetadata CDN file URL = f=
CdnClient_ConnectByUrl: ERROR, http_extract_domain_by_url, status=-1
sl_extLib_OtaRun ERROR: Failed on CdnClient_ConnectByUrl
0 OTA run = -6
OTA run = -6
OTA: Error with OTA server
Regards,
Sundar
68 Replies
Replies have been turned off for this discussion
- Здравко2 years agoLegendary | Level 20
sundares80 wrote:... We are trying to address this before it becomes a legal issue and proceeding.
...
sundares80, It's normal your clients to get angry, of course. But your QA fault doesn't give you base to spur on introduction of bug tolerating software (exactly what you ask for in this thread - the entire thread). Did you prepare new working firmware? Better focus on this and how to help other critical cases. Figure out how a buggy software has reached to your clients and how you can prevent non tested new examples to do the same in future. That's something you definitely can do!
Once you have working firmware, you may prepare updater software (working on computer and/or mobile) to fix your issue on client side, without need to move any devices. With well prepared detailed guide for your clients and demonstration of intents to help them you may be able to reduce the damages.
Don't look for an imaginary guilty side! This may push you in additional (new legal) issues using such a way! This is not a Dropbox issue so you cannot forward the responsibility and if try will likely hit a heavy legal "wall". In spite it's to large extent TI fault, also you cannot do mach there (if you want consult your lawyer though) - keep in mind that such software is provided as is, just for convenience. Despite this "convenience" hit you, it has been and is your responsibility to check before usage of such software for possible bugs (something your QA skipped, as seems).
Good luck.
- sundares802 years agoExplorer | Level 3
Hi Здравко,
First of all, there are no bugs or problems in our firmware. For several years, we have been using Dropbox API for pushing OTA updates to our devices installed at our client sites. Recently we learned that your product (Existing Dropbox API) no longer supports the same functionality that we have been using for several years. We are asking when your company will resolve this issue by brining the same functionality back to your API. The concern and legal issue will potentially be between our company and Dropbox, since you are changing the service without advance notice and explanation. If we had advanced notification of this change from DropBox company, we would have planned on updating our devices to use a different API provider, but we were not given such a notice. We currently can not change our devices to point to a different API provider, which will take time and resources.
This is an urgent issue for us and we like to have a meeting with your director and our CTO to discuss timing of this resolution to your product. We hope to resolve this without further delay and escalations.
Regards,
Sundar
- Здравко2 years agoLegendary | Level 20
sundares80 wrote:...
First of all, there are no bugs or problems in our firmware. ...
Hi sundares80,
Hm.. 🤔 Really? And where that malformed HTTP requests come from? 🤷 Is this a bug or (in your definition) no?
sundares80 wrote:... The concern and legal issue will potentially be between our company and Dropbox, ...
🤦 Good luck in you look for troubles. In addition to your clients penalties, as seems you will need to pay damages (claim for compensation) to Dropbox too. My advise is to ask competent lawyer in advance. One more lawyer pay would be much less than claim for compensation for lies (such a pretension would be documented lie - would make Dropbox lawyers task easier). All statements on the forum cannot be used as an evidence in front of cоurt, but statement in a case in may be base for other case! Strict follow up for particular standard is not something that should surprise or need somebody be notified. You should state that you had no any idea the Dropbox API use HTTP. What does HTTP standard state otherwise?! Did you read it? Do it before do something stupid.
Take care for your interests! 😉 I don't protect anybody. Emotional movements very often lead to bad consequences. Learn it in an easy way not in a difficult one.
- Greg-DB2 years ago
Dropbox Community Moderator
sundares80 I wanted to let you know that this is still open with the team, and they're currently working on changing an option in our systems that might address this for you. Please note that we can't guarantee this will help.
That change is not deployed yet. I will follow up here to let you know once that change has been fully deployed and ask you to confirm if it does or doesn't help.
- sundares802 years agoExplorer | Level 3
Thanks for the update, Greg.
Once you deploy, the same day we will test and let you know about the result.
Regards,
Sundar
- Greg-DB2 years ago
Dropbox Community Moderator
sundares80 That change has been fully deployed now. Unfortunately, in my own testing it doesn't appear this change helps, but please do still try your actual device and let me know if it does or doesn't help.
- sundares802 years agoExplorer | Level 3
Hi Greg,
I have tested just now, but i see the same error. I did not get the temporary download link.
Regards,
Sundar
- Greg-DB2 years ago
Dropbox Community Moderator
sundares80 Thanks for checking. I'll let the team know that didn't help.
- Здравко2 years agoLegendary | Level 20
Greg-DB wrote:... That change has been fully deployed now. Unfortunately, in my own testing it doesn't appear this change helps, ...
Greg-DB, I don't know what's fully deployed, but if that deployment has not been dropped in meantime, there is no any effect of it. I just checked and as seems additional new line is still count as an broken request (as is), so no any workaround.
- sundares802 years agoExplorer | Level 3
Hi Greg,
Any update?
Regards,
Sundar
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!