Docusign Application Scope Error Invalid_grant

Hello!
I need urgent help with this problem.
I’m trying to establish a connection with Docusign to automate and send documents, but the first step is that connection and it’s giving me a lot of failures.

I’m a bit of a novice in this UiPath thing but I have to present this automation to the teacher this week and I can’t get it to work.
Could someone help me? I leave screenshots of everything I have to help as much as possible.
THANKS!!!





Hi @Belen_Martin ,

Welcome to the community.

I can see that you are passing In_SecretKey that is Null.
There is an issue with the Authentication, Please try again with correct value.

Please marked this thread if this helps
Thanks

2 Likes

@Belen_Martin

As you passing arguments for values, check that you have the correct values in Docsign Application scope

Before Application scope you can place a write line activity and pass the variable passing to Application scope

So that you can see all values are getting correctly

Hope this may help you

Thanks,
Srini

1 Like

As I understand it.
The integration Key would be the Client ID
And within that parameter I have obtained the SecretKey that is associated with Client Secret.

Did I put the Default in the Str_SecretKey variable wrong?
If I put the default in the variable In_SecretKey I get the error that the value type ‘string’ cannot be converted to ‘securestring’.

Hi @Belen_Martin ,

From the error received we see that there is correction to be done in the way the in_SecretKey is to be used.

You would not require to assign anything to Str_SecretKey using the Assign activity as it is already having a Default value.

You would require to convert the Str_SecretKey to a SecureString type and assign it to the variable In_SecretKey. We can do so by using the below Expression :

In_SecretKey = new System.Net.NetworkCredential(String.Empty,Str_SecretKey).SecurePassword

Replace the expression that you have used with the above Expression.

Also, Not so sure, but the url contains a * at the end. Is it a typo ?

Let us know if the changes suggested works.

Thank you very much!
I have managed to make the connection!
Now I’ll see if I can continue with the process… Thank you all very much for your help

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.