Hi to all,
My initial login and data retrieval processes all work fine. However, I'm encountering session time-outs well before the 12hr point, randomly between 2 and 3 hours. Obviously my session token has become invalid as I get the response "[{"jsonrpc":"2.0","error":{"code":-32099,"message":"ANGX-0003","data":{"APINGException":{"requestUUID":"ie2-ang01b-prd-04261123-000e01591e","errorCode":"INVALID_SESSION_INFORMATI ON","errorDetails":""},"exceptionname":"APINGExc ep tion"}},"id":1}]" .
I need to
Thanks in advance for any contributions
regards,
Elvis
My initial login and data retrieval processes all work fine. However, I'm encountering session time-outs well before the 12hr point, randomly between 2 and 3 hours. Obviously my session token has become invalid as I get the response "[{"jsonrpc":"2.0","error":{"code":-32099,"message":"ANGX-0003","data":{"APINGException":{"requestUUID":"ie2-ang01b-prd-04261123-000e01591e","errorCode":"INVALID_SESSION_INFORMATI ON","errorDetails":""},"exceptionname":"APINGExc ep tion"}},"id":1}]" .
I need to
- Handle the Error: Detect the error response with the code -32099 and message "ANGX-0003", indicating an invalid session token.
- Create a New Session: initiate a new session by using the API login method. This will generate a fresh session token to replace the expired one.
- Ensure Continuous Session: seamlessly handle the creation of a new session token and continue with the required API calls without interruption.
- Session Management Best Practices :check I'm using them.
Thanks in advance for any contributions
regards,
Elvis