I checked the “console” tab and i have seen it is an API problem. The URL was apparently not allowed (all my domain should be allowed but for some reason it doesn’t work for some URL).
I solved the problem by adding the exact URL of the pages where it doesn’t worked.
Thanks for your time.