Hey, prufrax! We know this can be quite frustrating, and we'd like to get more information on this issue. Are you receiving an error message when trying to access our site? If so, can you kindly provide us with screenshots? Thanks! We look forward to helping you get to the bottom of this.
Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
file is: www.oculus.com / x2asset / 9ce0cb0bb1d3082720ddf29d8577764d3e3984d3 . js
(spaces inserted as forum does not seem to like posting the stack traceback - maybe the earlier posting with the full traceback is lurking in quarantine or awaiting moderation?)
I dug into this a little bit more earlier - on my work machine that has never visited oculus.com before and so no stale cache issues.
The throw is when the contents of an undefined variable is attempted to be deocded as JSON.
The variable is undefined because it is the value from a dictionary - but the variable that should contain the dictionary (rawDictionary) is not a dictionary but instead a string containing a the path to a json file. So something is passing in wrongly-encoded data somewhere.
The function where this happens is trying to load locale-specific translation data from the webpack. This may be why it is not failing for you in en_US, but is failing for us in en_GB and other locales - i.e bad or misformatted locale data for non-default language locales in the webpack.
Will dig out the exact file name in the variable later when I'm not juggling six things!
So here we have it - prettyprinted the packed js, and we can see that rawDictionary = "/x2asset/edfcdee7b0cbe883cb40a78c3caecff6.json" rather than being a dictionary.
Result is the loop going through this 'dictionary' is setting translatedPayload = '/' which is not valid json.
Check your packaging of non-default (i.e. not en_US) locale data. Something is wrong in there.