Need help with the content security policy

Why do you think this is a CSP error?

(If it was, the code wouldn’t even run, and it is, because it throws an error).