Closed mmueller96 closed 6 years ago
in this line of the event listener fileready response = JSON.parse(ev.target.responseText); i get a exception Uncaught SyntaxError: Unexpected token < in JSON at position 0 Why? its copied from your tutorial.
My guess would be that your response from the server you're uploading your file to isn't valid JSON.
in this line of the event listener fileready response = JSON.parse(ev.target.responseText); i get a exception Uncaught SyntaxError: Unexpected token < in JSON at position 0 Why? its copied from your tutorial.