Skip to main content
Participant
March 4, 2019
Answered

GET signingUrls for agreement is failing in application

  • March 4, 2019
  • 2 replies
  • 1208 views

Hi!

I'm working on creating of test application for AdobeSign integration C#.

When I'm trying the call in "try it" page (REST API — Document e-signature Software — Adobe Sign), I'm getting the following response:

Request URL

https://api.na2.echosign.com:443/api/rest/v6/agreements/CBJCHBCAABAASHXLhpnMlIeuA2Pi3S7ewnID8yF8Qq4r/signingUrls

Response Body

{ "signingUrlSetInfos": [ { "signingUrls": [ { "email": "someaddress@somedomain.com", "esignUrl": "https://secure.na2.echosign.com/public/apiesign?pid=CBFCIBAA3AAABLblqZhDurMB28N5za2IxNYmueyExUE7WJa4rOkBdiLuIsl78c08sy12rbHyhu-3rh6BlpbI*&client_id=CBJCHBCAABAAjipHE56ILK-vpGLxT7lgDjXfeBYttICf" } ] } ] }

But when I'm trying to get the same call working in c#, I'm getting resource not found response. Here is my code:

            var client = new RestClient(adobesignURL + "/agreements/" + agreementID);

            var request = new RestRequest("signingUrls", Method.GET);

            request.AddHeader("Authorization", "Bearer " + adobesignIntegrationKey);

            var resp = await client.ExecutePostTaskAsync(request);

If I copy request URL when stepping through the code, it's working properly in Insomnia. What can cause the issue?

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer natashak44380137

The issue was in RestSharp method I was using. Using ExecuteTaskAsync instead of ExecutePostTaskAsync solved the issue.

Note to Meenakshi: this is not helpful at all to send everyone to pre-sale technical assistance. I got exact same answer from you on both of my questions. The whole purpose of posting question here is to get some developer to take a peek and possibly give quick suggestion.

2 replies

natashak44380137AuthorCorrect answer
Participant
March 5, 2019

The issue was in RestSharp method I was using. Using ExecuteTaskAsync instead of ExecutePostTaskAsync solved the issue.

Note to Meenakshi: this is not helpful at all to send everyone to pre-sale technical assistance. I got exact same answer from you on both of my questions. The whole purpose of posting question here is to get some developer to take a peek and possibly give quick suggestion.

Meenakshi_Negi
Legend
March 5, 2019

Hi Natashak,

I have checked that you are using the free developer edition of Adobe Sign.

As you need help with the integration, I would suggest you contact the Adobe Sign pre-sales team.

They will be able to provide pre-sales technical assistance to you.

Please refer to this link https://acrobat.adobe.com/in/en/sign/pricing/plans.htmlto get in contact with them.

Let us know if you need any help.

Regards,

Meenakshi