Call the error callback if we don't get a 200 response
Return an error if the request payload is bad