Error while creating contacts in batches - Maximum number of inputs

sonamc
Member

Hi,
While creating contacts in batches I get the following error

 {"error": true, "errors": [], "message": "The maximum number of inputs supported in a batch is 10. Please reduce the number of items and try again"}

Is it because I am using dev sandbox? I believe atleast 100 contacts can be created in batches.

 

FYI, I am using hubspot node client to make the request.
Your help will be appreaciated.

 

0 Upvotes
1 Reply 1
cathalhopper
HubSpot Employee

Hey @sonamc , hope all is well with you :cathappy:

 

It sounds like you're making use of the new V3 CRM API which has a batch limit of 10, mentioned on that page under the heading Batch operation limits.

If you've ever previously used our V1 API Create or update a group of contacts this mentions performance is best at a batch size of 100 or fewer, which is why you may have thought the batch size was up to 100 for the V3 API!

 

Best,

Cathal

0 Upvotes