Content Security Policy directive: "frame-ancestors 'none'"

umairakram
Shopify Partner
17 1 4

Content-Security-Policy: `frame-ancestors https://${shop} https://admin.shopify.com

I have applied the frame ancestors asn described in the guide iframe-protection but still getting the same error 'Refused to frame 'https://ppilot-testing.myshopify.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".'
I have tried all possible methods but still getting error.

And I did not get any url given in the image on guide.

umairakram_0-1714132252715.png
Please help if anyone solved this issue.
Replies 0 (0)