Open
Description
We have fundamentally working integration. However, sometimes we get a 400 Error and in this case, the following code
$errorHandler = $this->_connector->getLastError();
CliLog::error("API: Http Status Code = " . $errorHandler->getHttpStatusCode());
CliLog::error("API: Error Message = " . $errorHandler->getIntuitErrorMessage());
CliLog::error("API: Error Element = " . $errorHandler->getIntuitErrorElement());
CliLog::error("API: Error Detail = " . $errorHandler->getIntuitErrorDetail());
CliLog::error("API: Error Code = " . $errorHandler->getIntuitErrorCode());
CliLog::error("API: Error Type = " . $errorHandler->getIntuitErrorType());
All these calls other than the getHttpStatusCode() call return nothing.
Is this a bug or are we using an incorrect method to get the cause of a 400 error?
Metadata
Assignees
Labels
No labels