I’m using the deal API to get all the deals that are in the hubspot, I did it according to the hubspot’s documentation, it works perfect, however, this week an error appeared, “Undefined offset: 9527615”, because of that I can’t order the rest, because “offset” he doesn’t find. my algorithm can take the data until it reaches that offset. why is this happening?
Hello @ecaldonazzo
This is strange. Is it persistent?
Hello @dennisedson,
Yes, is it persistent .
Thanks @ecaldonazzo ,
When you get this error, you should see an correlationID. What is that?
Also, do you know how far along you get until you reach that issue?
Hello @dennisedson
I found a problem, they created a new stage in the hubspot, and the array that associates the stage id with the stage name in my code was not prepared for these new stages. in this case I made it to be dynamic and not use another array for verification.
thanks for the help.
