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
As of May 3rd, I am getting frequent UnexpectedValueExceptions from updateAccounts. with the following message:
"Sharpspring REST API interpreter failure while evaluating object-level error(s): the number of objects provided to the call (1) is different from the number of objects returned in the 'result' part of the response (0).\nResponse result for updateAccounts call: []"
As far as I can tell, the accounts in question have been successfully updated. My guess is it's a change in the SharpSpring API, but I haven't been able to find any information on it. There have been no changes on my side, and it's happening for two separate SharpSpring setups.
The text was updated successfully, but these errors were encountered:
You should probably try to either comment out that line 504 and see what happens, or just throw an exception right before that line, which includes json_encode($response['error']) (or json_encode($response)).
* I agree it must be a change in the Sharpspring API in the past 5 years. Or there's a situation I have never encountered myself which challenges the assumptions I made while writing the code.
Arguably it looks like I should not have created a situation where the original $response['error'] was not output. But I would have to dive back into the 5 year old code to see exactly what and why, which could be time consuming because of me discovering more API changes to take into account... (and because I don't have access to a Sharpspring API account currently). So I'm guessing noone wants to pay for that.
As of May 3rd, I am getting frequent UnexpectedValueExceptions from updateAccounts. with the following message:
"Sharpspring REST API interpreter failure while evaluating object-level error(s): the number of objects provided to the call (1) is different from the number of objects returned in the 'result' part of the response (0).\nResponse result for updateAccounts call: []"
As far as I can tell, the accounts in question have been successfully updated. My guess is it's a change in the SharpSpring API, but I haven't been able to find any information on it. There have been no changes on my side, and it's happening for two separate SharpSpring setups.
The text was updated successfully, but these errors were encountered: