Closed alexandre-da-costa closed 5 months ago
Hi @alexandre-da-costa Thank you for reporting this issue. Hubspot have changed the response of the method, I'll fix it as soon as possible. Please note this CRM Lists in beta now.
It have been fixed in the latest version of the SDK(11.1.0)
Hello! I had code that used the following to fetch the first member of a list:
It was working nicely until yesterday. Today I tested and am getting an error:
As you can see the ObjectSerializer ends up thinking it has an int (probably the list ID) and tries to convert an object to int. From my code, it seems that this timestamp did not use to come together with the ID, because I used to to
$response->getResults()[0]
My logs and version control history indicates this was not changed since days ago, when everything was working.
To get the ID and that worked normally. My mockup tests still passes because thats how I mocked it even.
Stack trace: