APIs & Integrations

adnan
Participante | Parceiro
Participante | Parceiro

There was an error processing the request.

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 Avaliação positiva
3 Respostas 3
Sjardo
Top colaborador(a) | Parceiro Elite
Top colaborador(a) | Parceiro Elite

There was an error processing the request.

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


adnan
Participante | Parceiro
Participante | Parceiro

There was an error processing the request.

@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 Avaliação positiva
dennisedson
Equipe de Produto da HubSpot
Equipe de Produto da HubSpot

There was an error processing the request.

@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.

0 Avaliação positiva