This topic was automatically generated from Slack. You can find the original thread here.
HubSpot Contact Property Change - Bug
We are getting the following in our Pipedream logs:
“The maximum number of inputs supported in a batch request for property histories is 50. Please reduce the number of items and try again”
The workflow in question is triggered by the change of a contact property. Looking at the logs, the following end point is called:
And it passes a lot of IDs, which I’m guessing is more than 50, which is hitting this limit.
Looking at the code, it would appear batchGetContacts() isn’t paged, so the fix is probably to check if inputs is greater than 50, and if so, only send a max of 50 inputs per call.
Lastly, very surprised this error didn’t trigger an email to use, we only found out when someone flagged the automation was not working and we looked at the logs.