Google Optimize installed on Shopify but not working

Hello, everyone, I have tried every possible way of installing Google Optimize to the Shopify page, from the new one where you install only one line of script (optimize.js), to the old one where you do it through Google Tag Manager. I also noticed that when I use Dev Tools on my website and going to the Network Tab, Google Optimize is blocked and I get a 499 Status Code. I really don’t know what do to anymore. Here is the error I am getting: