Don't try to process API errors as responses

`sendMessage` doesn't deal properly with error conditions. An HTTP status code > 399 will cause multiple invocations of the passed callback.