What happenedresponse.json() threw before the error check.Parse defensively.Build the lesson into your workflow.Media Uploader