admin管理员组文章数量:1122846
I am getting "File or directory not found" 404 on each envelopeid I try to call with ListDocuments. The envelopeId's do exist and can be viewed on docusign's site.
```
AuthUtil auth = new AuthUtil(_keyVaultConfiguration);
OAuth.OAuthToken token = auth.GetTokenFromJwt();
Account account = auth.GetAccountInfo(token);
DocuSignClient docuSignClient = new DocuSignClient(account.BaseUri);
docuSignClient.Configuration.DefaultHeader.Add("Authorization", "Bearer " + token.access_token);
EnvelopesApi envelopesApi = new EnvelopesApi(docuSignClient);
// known good envelopeId
Envelope envvelope = envelopesApi.GetEnvelope(account.AccountId, eml.TEnvelopeId);
foreach (EnvelopeDocument doc in envelope.EnvelopeDocuments)...
Code throws the 404 before the foreach is reached.
What would cause this?
** Solved: It turns out a proxy service , on my side somewhere was removing the auth header! I am working with IT..
I am getting "File or directory not found" 404 on each envelopeid I try to call with ListDocuments. The envelopeId's do exist and can be viewed on docusign's site.
```
AuthUtil auth = new AuthUtil(_keyVaultConfiguration);
OAuth.OAuthToken token = auth.GetTokenFromJwt();
Account account = auth.GetAccountInfo(token);
DocuSignClient docuSignClient = new DocuSignClient(account.BaseUri);
docuSignClient.Configuration.DefaultHeader.Add("Authorization", "Bearer " + token.access_token);
EnvelopesApi envelopesApi = new EnvelopesApi(docuSignClient);
// known good envelopeId
Envelope envvelope = envelopesApi.GetEnvelope(account.AccountId, eml.TEnvelopeId);
foreach (EnvelopeDocument doc in envelope.EnvelopeDocuments)...
Code throws the 404 before the foreach is reached.
What would cause this?
** Solved: It turns out a proxy service , on my side somewhere was removing the auth header! I am working with IT..
Share
Improve this question
edited Nov 25, 2024 at 15:33
Tim Brown
asked Nov 21, 2024 at 20:00
Tim BrownTim Brown
135 bronze badges
1
- Updated, seeing same result, not found. – Tim Brown Commented Nov 21, 2024 at 22:25
1 Answer
Reset to default 0If you want information for a specific envelope use Envelopes:get not :list.
Envelopes:list takes an optional request object and query parameters. Use the eSign request logging feature to see what you're actually sending in your Envelopes:list API call. -- You're not calling it correctly
本文标签: docusignapiDocusign EnvelopesApiListDocuments fails with NOT FOUNDStack Overflow
版权声明:本文标题:docusignapi - Docusign EnvelopesApi.ListDocuments fails with NOT FOUND - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736307527a1933342.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论