We just lauched into production a process that creates Envelopes using Docusign activities 1.3.1 in UiPath.
Using AuthType OAuthJWT, everything work like a charm… BUT after one hour, the calls fails with “USER_AUTHENTICATION_FAILED”
My credentials and config are fine, it’s the TOKEN that expire with default value of 1h.
I can’t find any documentation on how to recreate a new one in UiPath !
There is no activities nor properties to help me out with that.
Current solution is to shut down the whole processing session, then launch a new job.
As the reboot of the system exception through ReFramework doesnt work.
For now I’m not actively managing the TOKEN.
Everything was implicit in the process.
I have no idea why shutting down (vs Reboot in ReFramework) solve the issue.
My parameters for the DocusignActivities are:
One JSON file as ConfigFile for the Docusign Application Scope, connecting AuthType : OAuthJWT
{
“typ”: “JWT”,
“alg”: “RS256”,
“iss”: “xxxxxxxxxxxxx”,
“sub”: “xxxxxxxxxxxxx”,
“aud”: “account.docusign.com”,
“scope”: “impersonation signature”,
“privatekey”: "xxxxxxxxxxxxx
}
It always connect successfuly to this scope
Then it crash coming to the CreateEnvelope activity that is using one more parameter : Account ID (the API Guid)
That’s my current solution yes.
No QueueTrigger, just one batch of 8000 items, so my Trigger is set to be launched avery hour, and stop every 55min (just to be sure)
I’m still investigating how to manage the Token as the process would be cleaner, and we’d save some time for the processing.