Uncaught (in promise) SyntaxError: Unexpected token S in JSON at position 0 Promise.then (async) submitEmail @ music.html:1195 (anonymous) @ music.html:1184 code example
Example: Uncaught (in promise) SyntaxError: Unexpected token O in JSON at position 0
var stringified = JSON.stringify(data);
var parsedObj = JSON.parse(stringified);
console.log(parsedObj);