Black Lives Matter. Please consider donating to Black Girls Code today.

Bad response status code 500

My program has been working for weeks but all of a sudden i’m getting this error, coming from .\node_modules\plotly\index.js:237:25

any idea what the problem could be? i haven’t changed a line of code so i don’t even know where to begin. i tried generating a new API key, and reinstalling the plotly package, both to no avail.

I have had the same issue occur.

I have some scripts that generate images every few hours; running successfully for the last 6 months. The last success I received from the ‘getImage’ function was at 12/01/2018 15:40:00 UTC.

I did not make another call until 12/01/2018 23:40:00 UTC; and the result of this call returned “Bad response status code 500”. Every subsequent request since this time has returned the same error message.

For context, i’m using the plotly node wrapper available at


I have the exact same error message. It started only recently too.

Dude, same. Guessing that the API internally uses the latest js and the update to 1.32.0 broke it.

I’m having the same issue. Is there an expectation as to when this will be fixed?

We fixed the issue in Plotly Cloud and the fix is currently being deployed; sorry for any inconvenience this caused.

Note that the node.js library is using currently performing image generation using a legacy endpoint that’s unsupported and may break again. We welcome a PR from the community to switch over to the new endpoint; see details in this issue.