Throw a 400 response when the JSON body for media cannot be parsed.