pyetrade icon indicating copy to clipboard operation
pyetrade copied to clipboard

Q: anyone saw this error: Token request failed with code 500

Open mw66 opened this issue 1 year ago • 2 comments

This has been happening for a couple of weeks:

HTTP Status 500 – Internal Server Error

The server encountered an unexpected condition that prevented it from fulfilling the request.

But if I continue to try it for a few time, the program will go thru. I'm just wondering why? seems something wrong on their server side.

mw66 avatar May 30 '23 06:05 mw66

I notice it too, especially prevalent within 30 minutes of market close. I think it could be a server problem.

On May 30, 2023, at 12:57 AM, mw66 @.***> wrote:

This has been happening for a couple of weeks:

HTTP Status 500 – Internal Server Error

The server encountered an unexpected condition that prevented it from fulfilling the request.

But if I continue to try it for a few time, the program will go thru. I'm just wondering why? seems something wrong on their server side.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

1rocketdude avatar May 30 '23 13:05 1rocketdude

I've also been running into this periodically for awhile now. I've noticed it particularly around market opening and closing as well. I would assume the same as @1rocketdude, that there is just considerable server load due to high trade volume at open and close of the market.

The only "mitigation" I've used to fix this is to just include multiple retries in my scripts if it fails with the 500 HTTP error.

Robert-Zacchigna avatar Jun 01 '23 17:06 Robert-Zacchigna