Skip to main content

Hi,

I’m trying to create a preview of a draft envelope so the sender can confirm all the data and fields are correct before sending the envelope. 

I tried using the createSenderView API to get the URL for the Sender View. However when I try to access the URL its saying 

Login Unsuccessful

redeem console code : RestApi Error . Transaction Id: xxxx

From what I’ve read online, the supposed URL is supposed to be this domain “https://demo.docusign.net” but I’m getting this instead “https://apps-d.docusign.com”.

Is there some configuration/setting that I’m missing?

Regards,

Matt

Hi Matt,

I hope you’re having a good day.

I’d say you’re using the correct method (createSenderView) to preview the envelope and, as you can see in the documentation for the createSenderView, by default, the returned sender view URL should look like:

https://apps-d.docusign.com/api/send/auth-from-console-1ds?
code=9348001a-xxxx-xxxx-xxxx-abe0932c78cb
&t=a534a28b-xxxx-xxxx-xxxx-5c7aae7adf16
&from=https%3A%2F%2Fdemo.docusign.net
&r=https%3A%2F%2Fwww.example.com%2F
&view=true
&DocuEnvelope=f37489d3-xxxx-xxxx-xxxx-4de057063d0e
&e=d290fcfd-xxxx-xxxx-xxxx-4af03a3f8831
&send=1
&accountId=a732e8d0-xxxx-xxxx-xxxx-730111abbe12
&a=tag
&vt=5

So, based on the information you passed, you’re getting the correct URL.

Are you using the Docusign Apps Launcher for Salesforce by any chance? I am asking you that because the error you’re getting was a known error with previous versions. Have a look at the documentation below:

https://support.docusign.com/s/articles/DAL-DocuSign-eSignature-for-Salesforce-Error-Login-Unsuccessful-redeem-console-code-RestApi-Error-Transaction-Id?language=en_US

Otherwise, you may be getting this error because you're creating a sender view URL and you’d need to be logged in as a sender to open the URL, if you’re not a sender, this is why you're seeing this error.

If you’re still having issues with this after the information above, I’d recommend opening a case with the Developer Support team and we’ll look into it in detail.

Leandro Reis
Developer Support


Reply