We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

timrobinson33's avatar
timrobinson33
Helpful | Level 5
2 years ago

javascript - filesGetTemporaryLink API gives intermittent 500 error

Hi,

 

I'm using the javascript API and calling filesGetTemporaryLink() every so often (maybe 1% of the time) it gives a 500 response code. I'm repeatedly testing on the same set of files and it doesn't fail the same place every time. I could be just me but this seemed to be working more reliably a couple of weeks ago.

 

in case anyone from Dropbox is reading and has the capability to look at logs, I have a request id from one failed call - 60d9c33aa279422eb493ac69594aeb8b

 

is there anything further I can do to investigate or resolve the problem? should I just retry the failed request? the API doesn't seem to give me access to the HTTP response body, and the 'error' property of the exception is just an empty string

  • We looked into this and we believe we've mitigated that particular issue. Please let us know if you're still seeing any issues. Thanks again!

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for the report! Yes, for intermittent issues like this, you can just retry the request. I'll ask the team to investigate the cause based on this request ID.

    • Greg-DB's avatar
      Greg-DB
      Icon for Dropbox Staff rankDropbox Staff

      We looked into this and we believe we've mitigated that particular issue. Please let us know if you're still seeing any issues. Thanks again!

      • timrobinson33's avatar
        timrobinson33
        Helpful | Level 5

        Thanks - I have implemented an exponential backoff retry but while testing it I noticed the problem didn't seem to be happening any more

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 6 hours ago
325 Following

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!