Running Electronic Signature Polling (CS_ECHOPOLL) Process Close To CS_EXPIRE_DTTM Expiration Abends at Step CS_ECHOPOLL.GETINFO.Step10 and Fails with Error: API method getDocuments failed: Access token provided is invalid or has expired (10420,901)
(Doc ID 2854083.1)
Last updated on JANUARY 02, 2025
Applies to:
PeopleSoft Enterprise SCM Supplier Contract Management - Version 9.2 to 9.2 [Release 9]Information in this document applies to any platform.
Symptoms
Running CS_ECHOPOLL close to CS_EXPIRE_DTTM expiration Fails with "API method getDocuments failed: Access token provided is invalid or has expired (10420,901)" error.
Its a timing thing. When say for example, having 100 contracts and when CS_ECHOPOLL process is ran so that it will process very close to token expiration. Meaning CS_ECHOPOLL started with a contract and cs_expire_dttm is still valid at the start of the process.
But when it hits AS_AGREEMENT_GET it has expired, and needs to get new token to continue. That is not happening and we get the error instead of the system creating a new token. The job needs to be restarted in order forit to capture new token and continues.
Error:
Steps to reproduce the issue:
1) Run below SQL to check when the token expires:
Select cs_expire_dttm, cs_access_token, cs_refresh_token from ps_cs_esign_setup
2) Navigate to Supplier contracts > Create Contracts and documents > Electronic Signature Polling
3) Run the electronic Signature Polling (CS_ECHOPOLL) Process, just before the token get expires such that the token expires in the middle of the processing.
4) Process fails and below error could be seen in the message log and Application Engine log files:
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |