There was an error processing the request.

adnan
Participant | Partner

Hi.

With the help of '/crm/v3/objects/contacts/batch/update' end point,  I am trying to update HubSpot CRM 10000+ contacts.
During the update process sometime I am getting this error

array (
       ["status"]=>  "error"
       ["message"]=> "There was an error processing the request."
       ["correlationId"]=> "b49e0607-c3b8-4358-8da4-adad38950b6a"
       ["category"]=> "INTERNAL_ERROR"
)
When I execute the script next time,  there will be no error from Hubspot. 
The above error does not occur all the time. That's why I am not able to fix this issue. 
Need Your Help.

Thank you.

0 Upvotes
3 Replies 3
Sjardo
Contributor | Diamond Partner

Hi Adnan,

 

If there is no message, it's hard to help out!

I'm aware that there are a bunch of limits that might block your update process. This could be that your updating to fast or simply dont have the right HubSpot Tier.
You can see every bit infomration about the api here:
https://developers.hubspot.com/docs/api/usage-details



Best,

Sjardo Janssen
Front-end developer & UX Designer

Bureau Vet - Sjardo.nl

Did my post solve your question? Help the community by marking it as a solution
0 Upvotes
adnan
Participant | Partner

@Sjardo Thank you for your reply. 
We are using HubSpot Professional  & Enterprise Tier. According to HubSpot doc, This tier can entertain 150 requests /10 sec (https://developers.hubspot.com/docs/api/usage-details)
I am sending less than 100 requests / 10 secs.  And our daily limit maximum goes up to 20K(which are 500000 allowed from HubSpot). 

Whenever our limit crosses, the HubSpot error message clearly mentioned this.

0 Upvotes
dennisedson
Community Manager

@adnan , curious if this is the problem(from the docs):

 

Batch operation limits

Batch operations for creating, updating, and archiving should be limited to batches of 10.

Thanks,

Dennis



Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes