Alpaca status code
Alpaca status code: HTTP 500
What does HTTP 500 mean on the Alpaca API?
Internal server error on Alpaca's side. Both OpenAPI documents give this shared reply and say to retry later.
Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.
How do I fix HTTP 500?
Retry after a pause. For an order, read GET /v2/orders first: the Working with /orders page says an order whose submission timed out may still have gone to market, so do not resend until its status is known.