You'll typically receive this error if your session has expired.
You should ensure that you handle the INVALID_SESSION_INFORMATION error within your code by creating a new session token via the API login method.
See below for best practice relating to session management.
Login & Session Management
Use Login to create a new session and Keep Alive to extend the session beyond the session expiry time. A single session can and should be used across multiple API calls/threads simultaneously.
Please be aware that:
- Logins sessions last up to 12 hours by default and you can use Keep Alive to extend the session beyond the stated session expiry time.
- A single session can be used across multiple API calls/threads simultaneously. Please note: you don't need to make a new login request for every API call.
- You should ensure that you handle the INVALID_SESSION_INFORMATION error within your code by creating a new session token via the API login method.
- If login limits are exceeded, you'll be automatically prevented from making further login requests for a period of 20 minutes. During this time all existing sessions will remain valid.
Comments
0 comments
Article is closed for comments.