pyetrade
pyetrade copied to clipboard
Q: anyone saw this error: Token request failed with code 500
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.
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.
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.