There needs to be a default handler for errors in doRequest.