CORS error when trying to load a localization file

You get this error since you are trying to load a language resource file that does not exist. You will find all the available language files in our Github repo. When trying to load en-CA.json, for example, if it does not exist, we will try to load en.json instead.

This error does not affect how Snipcart works and is simply a failed HTTP request.

This did not answer my question why your code, not my code, is loading a file that doesnt exist

I am not trying to load anything.

this is the en_US.json which does nto exist in your github yet your code is trying to load it. How do I stop it from trying to load it?

The cart will always try to load the right language file based on the lang attribute in the <html> tag of your site. Your language must be en-US.

You will find more information here.

Thanks for that explanation. I will make the adjustment