You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SDK you're using (please complete the following information):
Version [2.1.3]
Describe the bug
When trying to connect to Xero using Xero's PHP API, the following error is thrown:
Message Crash: Invalid value for 'class', must be one of 'DEMO', 'TRIAL', 'STARTER', 'STANDARD', 'PREMIUM', 'PREMIUM_20', 'PREMIUM_50', 'PREMIUM_100', 'LEDGER', 'GST_CASHBOOK', 'NON_GST_CASHBOOK'
I am using this code, and the error occurs within this catch block.
try {
$apiResponse = $apiInstance->getOrganisations($xeroTenantId);
}
catch(Exception $e) {
echo 'Message Crash: ' .$e->getMessage();
}
We have multiple users, but this issue is only affecting one user.
The user says he's in the GROW plan. Could that be causing the issue? I have no idea about that.
In the Demo Company account or other live users' accounts, it's working fine. However, for one specific user on their real account, it throws an error.
Any suggestions on what to do?
Kind regards
The text was updated successfully, but these errors were encountered:
SDK you're using (please complete the following information):
Describe the bug
When trying to connect to Xero using Xero's PHP API, the following error is thrown:
Message Crash: Invalid value for 'class', must be one of 'DEMO', 'TRIAL', 'STARTER', 'STANDARD', 'PREMIUM', 'PREMIUM_20', 'PREMIUM_50', 'PREMIUM_100', 'LEDGER', 'GST_CASHBOOK', 'NON_GST_CASHBOOK'
I am using this code, and the error occurs within this catch block.
try {
$apiResponse = $apiInstance->getOrganisations($xeroTenantId);
}
catch(Exception $e) {
echo 'Message Crash: ' .$e->getMessage();
}
We have multiple users, but this issue is only affecting one user.
The user says he's in the GROW plan. Could that be causing the issue? I have no idea about that.
In the Demo Company account or other live users' accounts, it's working fine. However, for one specific user on their real account, it throws an error.
Any suggestions on what to do?
Kind regards
The text was updated successfully, but these errors were encountered: