Hi,
I’m using DocuSign in an RPA process using UiPath.
After one hour of processing enveloppes, the connection is lost because of USER_AUTHENTICATION_FAILED
I can’t find a way to renew my TOKEN as no explicit parameters is acessible, and no UiPath documentation talks about it.
Please find below all of my settings:
- All my activities are from the DocuSign Package : UiPath.DocuSign.Activities.
- Docusign Application Scope is withing my loop (so Connection should be renewed at each iteration, using the ReFramework)
- Auth Type is : OAuthJwt configured with JSON file
Values of the JSON OAuthJwt file i’m giving to DS_Scope :
{
"typ": "JWT",
"alg": "RS256",
"iss": "this_APP_integration_Key",
"sub": "this_User_ID",
"aud": "account.docusign.com",
"scope": "impersonation signature",
"privatekey": "this_super_long_value_on_one_line"
}
As well as the API_Key as “account_id” parameter in the “Create_Envelope” activity.
Problem is that even whil rebooting the JOB (as it’s a SystemException), the Token is not renewed.
My only solution for now is to activates triggers to launch a job every hour, and stop this job every hour so the Token does not expire, launch a new one… this and some tinkering for other parts of the process that rely entirely on longer TOKEN session.
How can I fix this and renew it automaticly?
Why is the token not renewing at each iteration through Docusign_Application_Scope ?
Why rebooting the job won’t renew token, but killing the job and launching a new one does ?