Interactive Brokers API error code
Interactive Brokers API error: Network Error while accessing endpoints
The error, as text you can copy
Network Error while accessing endpoints- Kind
- API error code
- HTTP status
- None recorded for this error
What does Network Error while accessing endpoints mean on the Interactive Brokers API?
On the Client Portal Web API, Interactive Brokers describes this for the endpoints and websockets functionality of its documentation page when used inside a web browser: Cross Origin Resource Blocking (CORB) in the browser gets in the way.
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 Network Error while accessing endpoints?
The vendor's page says CORB needs to be disabled in the browser to use that functionality, and that API testing tools such as Postman or Thunder Client have it disabled by default.