function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Venus Clarke 6Venus Clarke 6 

DocuSign Visualforce page fail

Hello,

When my Users send a DocuSign, they get a failed visual force page after sending. If you hit the refresh button the message goes away. How do I avoid this visualforce fail? 

The message is not visible in the screenshot, but the message is "dsfs.visualforce.com refused to connect". 

I have spoken to DocuSign and they have ensured me this is not an issue on their side. Also, DocuSign is infact connecting because the DocuSigns are being sent. 

I would like to resolve this issue though, because it is hampering User experience. 
Screenshot of error page
AnudeepAnudeep (Salesforce Developers) 
Hi Venus, 

Looks like a CSP rule violation to me. Salesforce locks down CSP rules by default. Customers are able to configure this level of security in the settings page to add a Trusted Site

When you look into the browser console, you will likely see the error "Refused to display '<URL>' in a frame because it set 'X-Frame-Options' to 'sameorigin'

You need to Create a CSP Trusted Site to Access Third-Party APIs. You will find steps to do that here

If this doesn't help, I recommend Creating a Support Case

If you find this information helpful, please mark this answer as Best. It may help others in the community. Thank You!

Anudeep
 
VinayVinay (Salesforce Developers) 
Hi Venus,

Can you try disabling the clickjack protection for Visualforce pages and check?

Setup --> Security Controls --> Session Settings --> Uncheck 'Enable Clickjack protection for customer Visualforce pages with headers' 

Thanks,
Vinay Kumar
Venus Clarke 6Venus Clarke 6
That worked! Thank you so much! Venus Clarke Salesforce Administrator Vanguard Truck Center of Atlanta 4042163796 cell 404-363-8390 office venus.clarke@vanguardtrucks.com www.vanguardtrucks.com
VinayVinay (Salesforce Developers) 
Good to know it helped you.

Please mark as Best Answer if above information was helpful so that it can help others in the future.

Thanks,
Vinay Kumar