Zend certified PHP/Magento developer

The Content-Security-Policy directive ‘frame-ancestors’ does not support the source expression ”unsafe-inline”

i am using magento 2.4.x ans i want to send data from ajax to controller but i cant do that , the compiler doesn’t enter to the controller class , is this because i have this error on my console on chrome ?=> ‘The Content-Security-Policy directive ‘frame-ancestors’ does not support the source expression ”unsafe-inline”‘ because it doesn’t let me debug my variables

enter image description here