For better debug and reporting the errorcode to SageIntacct, we should return the full error context when an api request fails. This is particularly useful during initial authentication failure when trying to get a session id. Otherwise, we can only see a general error from the sdk.