GetSignedLinks method in c# SDK results in an error "(406) Not Acceptable"

  • 2
  • Problem
  • Updated 4 weeks ago
  • (Edited)

The method in the c# SDK/example application fails on this line in the ApiHelper class and GetSignerLinks method:

string signerLinksXml = _oauth.APIWebRequest("GET", urlPath, null);

The process is calling the TemplateAPI PrepackageTemplate method and then the PrefillOrSendAsDocument method. Note that I am using the provided example application as is using the oAuth authorization method. The document is sent successfully but the get signer links fails afterward:

ApiHelper.Initialize();

ITemplate tempApi = new TemplateApi();

tempApi.PreFillORSendAsDocument(ApiHelper.getGuid(tempApi.PrepackageTemplate("my doc GUID"), "template"), "test", "send", recipients, null, null, null, null, null, true)

What is the problem here?

Thanks,

-Phillip


Photo of Phillip

Phillip

  • 2 Posts
  • 0 Reply Likes

Posted 4 weeks ago

  • 2
Photo of David Herrera

David Herrera

  • 2 Posts
  • 0 Reply Likes
I have the same problem since yesterday 
"An error has occurred.\",\"ExceptionMessage\":\"The remote server returned an error: (406) Not Acceptable

Any help!