We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

Vdesjardins's avatar
Vdesjardins
New member | Level 2
24 days ago

Uploading failed on new Dropbox account

Hello,

I wrote a small script that creates a dump of a database and then uploads it to Dropbox. I've been using this script on several sites for years. 

But I recently opened a new dropbox account, and this new account will contain only sites backups (keeping the former one only for my own data). So I created a new app, generated the new keys and updated one of my script for tests but it doesn't upload.

I decided to make a basic test : on one site I create a text file and uploads it to the former dropbox accoutn : it works. 

On another site, I do the exact same thing : the text file is created on the server but then when the script tries to upload the file to the NEW dropbox account, I have this error :

> Uploading "/correct_path_to_the_file/test.txt" to "/Applications/MyAppFolder/test.txt"... FAILED
An error occurred requesting /upload
Some error occured. rerun the script with "-d" option and check the output and logfile: /tmp/du_resp_31122.

what is the -d option ? And where can I find more details about this error ? 

Where is the /tmp/du_resp_31122 logfile ?

Why do you think this small script works fine on the former dropbox account and not this one ?

3 Replies

  • Rich's avatar
    Rich
    Icon for Super User II rankSuper User II
    24 days ago
    Vdesjardins wrote:

    Where is the /tmp/du_resp_31122 logfile ?

    /tmp is a mount point. It will be pointing to a drive/partition somewhere on the computer that's running the code. Use the mount and/or df commands to get information about the location.

  • iNeil's avatar
    iNeil
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    23 days ago

    Hello Vdesjardins​,

    I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: 

    • the name and version number of the platform and SDK/library you are using, if any
    • the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)
    • the full text of any error or unexpected output directly from the Dropbox API


    Alternatively, you can open an API ticket with the above information using the following link:

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,035 PostsLatest Activity: 2 years ago
410 Following

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 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!