Dropbox action fails, but I have no idea why

I am playing with the default Save To Dropbox action (“Save to timestamped file in Dropbox.”).

I was able to authorize against Dropbox, and then Drafts created the file as expected, but now a day later when I run the action it always returns non-success (i.e. it shows the exclamation mark).

I have already tried to delete the authorization and re-authorize against Dropbox, but with the same result: Just a red exclamation mark next to the Save To Dropbox name, but nothing else. I have no idea why.

What’s going wrong? How can i debug this?

Do you have anything of note in the Action log?

Cool. Will have a look tomorrow when I’m back at the Mac. :slight_smile:

I get errors like this:

Dropbox Error: 53 The operation couldn’t be completed. Software caused connection abort

Dropbox Error: 53 The operation couldn’t be completed. Software caused connection abort

Dropbox Error: -1001 The request timed out.

Dropbox Error: -1001 The request timed out.

Dropbox Error: 53 The operation couldn’t be completed. Software caused connection abort

Dropbox Error: 53 The operation couldn’t be completed. Software caused connection abort

Maybe my internet connection was flaky. - Is there a way to get this log info in JavaScript (after Dropbox.create()) in order to show it in an alert directly to the user?

Retry on a solid data connection to confirm your suspicion.

As far as I know, there isn’t a way to display the action log to the user, but if the action fails you can set the notification to be displayed (if it isn’t already). That should be a prompt for the user to check the log.

If you want more control over that aspect, you could switch to using the [Dropbox object in scripting](https://scripting.getdrafts.com/classes/Dropbox . html) and then process and display any errors that occur.