I have a couple of odd message returns that I see occasionally and was wondering if anyone else has come across them: 1) Call to /one/user endpoint. Sometimes returns: 'Failed to load countries' (GET returns 500) 2) Call to /iserver/auth/status. Sometimes returns: "Expecting value: line 1 column 1 (char 0)" 3) Call to /iserver/marketdata/snapshot. Sometimes returns: "Please query /accounts first" (GET returns 500) For #3, I'm actually calling both the portfolio and server accounts prior to trying the snapshot...my guess is that #1/#2 are a major cause of the issues I'm having because they occur first, but I haven't seen any info in the clientportal docs. Posted at IB message center, but figured I'd try here as well to expand the sphere for possible answers. Thanks
The iserver is very unreliable, I tried to use these IB rest endpoints and I gave up. I use the IB gateway for everything. This error: (Expecting value: line 1 column 1 (char 0)) is a standard error for a json parsing failure, normally because the response is empty.