Skip to main content

In my C# code, when I try to create a Envelop got this errror,

DocuSign.eSign.Client.ApiException: 'Error calling CreateEnvelope: {
  "errorCode": "USER_AUTHENTICATION_FAILED",
  "message": "One or both of Username and Password are invalid."
}'

 

Code...

ApiClient apiClient = new ApiClient("https://demo.docusign.net/restapi");
Configuration.Default.ApiClient = apiClient;

//Verify Account Details
string accountId = loginApi(credential.UserName, credential.Password); -- account verification working fine here

// |EnvelopesApi| contains methods related to creating and sending Envelopes (aka signature requests)
EnvelopesApi envelopesApi = new EnvelopesApi();
EnvelopeSummary envelopeSummary = envelopesApi.CreateEnvelope(accountId, envDef); --here i got the error

 

 

 

 

please reference this document:

https://www.docusign.com/blog/developers/docusign-api-basic-user-password-authentication-retirement

Docusign API Basic User Password Authentication Retirement

the new integration key not support basic authentication. please use OAuth2.0 like JWT for system integration.

 

FreeLink/甫连信息
🌍 DocuSign Partner | Partner Profile
🏆 2024 APAC Reseller Growth Partner of the Year
🔧 First globally to pass DocuSign eSignature Technical Consultant certification
🚀 Expertise in DocuSign integrations with in-house systems for leading enterprises across various industries.

Feel free to reach out for collaboration opportunities.


Reply