Interactive Brokers API error code
Interactive Brokers API error: 503 Service Unavailable
The error, as text you can copy
503 Service Unavailable- Kind
- API error code
- HTTP status
- 503
What does 503 Service Unavailable mean on the Interactive Brokers API?
On the Web API, the reference for submitting an order lists 503 Service Unavailable. The vendor's example: a request that takes more than 10 seconds because an internal service is unavailable is aborted and this status is returned.
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.
No fix in the source
The page gives no remedy. The response carries an error field with the reason.
That is all the source says, so this page does not invent a fix. General guidance: what HTTP 503 means and how other APIs use it, the other errors with HTTP 503 recorded for Interactive Brokers, and the error lookup for the exact text of the reply you received.