docusign-esign-csharp-client icon indicating copy to clipboard operation
docusign-esign-csharp-client copied to clipboard

404 error Envelopes API

Open rudyp321 opened this issue 1 year ago • 5 comments

When calling the CreateEnvelope method, a 404 error is returned. The issue seems to be that path is set to "/v2.1/accounts/{accountId}/envelopes" but the {accountId} is never replaced with the actual value. Instead, you end up with this https://demo.docusign.net/v2.1/accounts/{accountId}/envelopes.

rudyp321 avatar Apr 21 '24 02:04 rudyp321

can you share the C# code you're running?

InbarGazit avatar Apr 21 '24 03:04 InbarGazit

CreateEnvelope() is one of the most popular methods, so if it has a bug - we should know ASAP

InbarGazit avatar Apr 21 '24 03:04 InbarGazit

I'm using the SendEnvelopeForEmbeddedSigning method of the EmbeddedSigningCeremony.cs file I found in the repo. I've attached it here.

EmbeddedSigningCeremony.zip

rudyp321 avatar Apr 21 '24 04:04 rudyp321

Any guess as to what might be going on? Any help is appreciated.

rudyp321 avatar Apr 22 '24 02:04 rudyp321

Hi @rudyp321, I tested the code you provided and successfully used the CreateEnvelope method. Could you please share the basePath you are using? I suspect there may be an issue with it. Additionally, could you attach a screenshot of the error?

Here are some helpful links/steps that can help you in resolving the issue:

  • Please use Docusign eSign API Explorer and try sending similar inputs to see if you are still facing the same issue.
  • Please use the Quickstart wizard which lets you download code samples which are preconfigured with your account data.

garg-mudit avatar Apr 23 '24 13:04 garg-mudit

Hello @rudyp321,

I wanted to follow up on my previous message. Did you have a chance to review it? Were the links helpful, or are you still experiencing the same issue?

If the problem persists, could you please provide the following information:

  • The basePath you are using, as I suspect there may be an issue with it.
  • Could you attach a screenshot of the error?
  • Which version of the package are you trying out?
  • Which .Net version are you using?
  • Do you have a Docker setup for this application?

Thank You.

garg-mudit avatar May 07 '24 06:05 garg-mudit

Hello, Mudit,

Thank you very much for your help. The issue was the basePath. I was missing the /api. Added that and it worked.

On Tue, May 7, 2024 at 2:28 AM Mudit Garg @.***> wrote:

Hello @rudyp321 https://github.com/rudyp321,

I wanted to follow up on my previous message. Did you have a chance to review it? Were the links helpful, or are you still experiencing the same issue?

If the problem persists, could you please provide the following information:

  • The basePath you are using, as I suspect there may be an issue with it.
  • Could you attach a screenshot of the error?
  • Which version of the package are you trying out?
  • Which .Net version are you using?
  • Do you have a Docker setup for this application?

Thank You.

— Reply to this email directly, view it on GitHub https://github.com/docusign/docusign-esign-csharp-client/issues/442#issuecomment-2097542404, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATNZAG3Q7XOVNYPW5ALRELZBBX7NAVCNFSM6AAAAABGQ7YIQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXGU2DENBQGQ . You are receiving this because you were mentioned.Message ID: @.***>

-- Regards,

Rudy Padrón

rudyp321 avatar May 07 '24 18:05 rudyp321