Start 2025 on time and up to date. Seamlessly integrate your calendars into Dropbox with these simple steps.

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