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.

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.