<p>The most common reason that unsafe inline is not working is that you forgot to wrap it with single quotes. It should be specified as: <code>'unsafe-inline'</code></p>

<h2>Can I use unsafe-inline with frame-ancestors?</h2>
<p>No, you cannot use <code>unsafe-inline</code> with the <a href="/frame-ancestors/">frame-ancestors csp directive</a>, you would get an error message like this:</p>
<pre>the content-security-policy directive 'frame-ancestors' does not support the source expression ''unsafe-inline''</