Why are my requests to /iserver endpoints failing, while others succeed?

Access to endpoints containing /iserver, which are used to place orders and receive market data, require a brokerage session. The endpoint /iserver/auth/status will return the status of your Web API brokerage session via its "authenticated" field. A response containing "authenticated": "false" indicates that no Web API brokerage session currently exists for the requesting username. The endpoint /iserver/auth/ssodh/init?publish=true&compete=true may be used to attempt to open a brokerage session for your username. Note that only one brokerage session maybe exist for a given username at any time, and the compete=true query parameter in the above request will terminate a preexisting brokerage session for your username, replacing it with a newly created Web API brokerage session.

Powered by IBot
What do I need to report a Web API issue?
What is a brokerage session?
How long does a Web API session last?
How can I tell if I have an active brokerage session in the Web API?