Error "invalid_grant" Thrown While Working With UiPath DocuSign Activities

Resolution for error "invalid_grant" thrown while trying to connect to the DocuSign API using the UiPath.DocuSign.Activities .

Issue Description: Sometimes, error "invalid_grant" is thrown while trying to leverage the UiPath DocuSign activities to automate interactions with the DocuSign application.

Root Cause: The "invalid_grant" error usually occurs when the provided authorization grant or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.

Resolution: To resolve this, ensure that the correct Authorization Code and Redirect URI is leveraged as explained in How to Create An Docusign Integration Key guide.