Skip to main content
Question

Issue with Docusign JS for production embedded signing due to Content Security Policy

  • June 24, 2026
  • 1 reply
  • 50 views

Hello,

 

I’m getting the following error when trying to use Docusign JS for production embedded signing.

I have set the frameAncestors to be http://localhost:8080 and https://apps.docusign.com when calling the API to create the embedded signing view URL.

The same setup worked with the demo integration where the frameAncestors had https://apps-d.docusign.com.

Could you please help me resolve this issue?

 

Error Message:

Framing 'https://apps.docusign.com/' violates the following Content Security Policy directive: "frame-ancestors 'self' https://ca.docusign.net". The request has been blocked.

1 reply

Forum|alt.badge.img+9

Hi ​@ED_Jason

The localhost origin can’t be used for the frameAncestors attribute in production, as you can see in the "3. Call EnvelopeViews:createRecipient" section of this page: https://developers.docusign.com/docs/esign-rest-api/esign101/concepts/embedding/docusign-js-embedded-reference/

Please specify an origin other than localhost in the frameAncestors attribute, then try again.