Discuss Dropbox Developer & API
Hi all!
Here's the situation - I've got a simple little script that runs smoothly on my computer, and that I've recently ported over to pythonanywhere so as to use http-post functionality.
For the sake of context, the flow is quite simple -
I get a Zoom-hook notification when a new recording is available, and the script then downloads the file, converts the m4a audio to mp3, uploads to dropbox, and sends a post-request to my site regarding the availability of a new dropbox audio-file. (Also some other stuff, but nevermind those).
The thing is, my upload keeps failing. This never happens when running on my laptop, but for some reason when running from pythonanywhere the session times-out, tries again, fails again, and eventually gives up after about 48 minutes of audio have been uploaded...
I'm using upload-sessions, and the dropbox.Dropbox instance is being istantiated with 60*60*5 timeout, so that shouldn't be the issue... I've also tried things like reopening a new dropbox.Dropbox instance every 10 minutes of upload or so, and some other wierd stuff.
Any suggestions would be very welcome indeed! I've got everything except this point running perfectly and I'm planning on upgrading to a payed dropbox plan this week, but I'd like to get this going properly first...
Thanks a buncharoonie!
I'll be happy to try and help with this, but I could use some more information. Can you share:
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 Twitter 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!