+ Start a Discussion
Brian.ax17Brian.ax17 

INVALID_SESSION_ID from queryMore

I understand that the sessionid goes stale after 2 hours, so I've coded calls to login after 45 minutes elapse time.

This seemed to work for the last few months, but in the last few days my program is failing just after 2 hours, despite 2 intervening login calls.

Any thoughts? Has something changed in the latest API update?

DevAngelDevAngel

Hi Brian,

I've not heard any other issues like this.  Is this still happening?  If so, it sounds like a variable scope issue.  With in a few weeks there will be a new version of the SOQL tester on source forge that will take a session id and url as an alternate authentication mechanism that might be useful to test the session id that is coming up as stale.