Currently when the remote API returned a non-OK response, xsai throws an error with a very simple message:
XSAIError: Remote sent <status code> response
It's not helpful considering different API providers may have its own (undocumented) requirements, thus in many cases we relies on remote API's response body to fine-tune our requests based on provider requirements.