GOGETMUSCLE Community Contact upsert via batch returns empty payload

Contact upsert via batch returns empty payload

Hi,

I have an implementation for upserting a larger number of contacts by calling:

crm.contacts.batchApi.upsert

through the Node.js HubSpot SDK.

The implementation used the documentation, as of: https://developers.hubspot.com/docs/api-reference/crm-postal-mail-v3/batch/post-crm-v3-objects-postal_mail-batch-upsert#batch-upsert

Where it stated, the API endpoint was supposed to return a proper payload. But in reality, near the 200 OK, the payload is sometimes literally empty, sometimes an empty JSON object.

There is a lack of features to bulk/batch check or just ask for the last process status.

Is there any information about this error on the HS side when they willing to fix it?

Note

The SDK is the latest. I have tried the simple HTTP requests using the v3 API. The problem can be reproduced via `cURL` or `Postman` too.

Also, I have a retry mechanism, with a wait time of over 60 seconds to mitigate the caching, but it is not helping. Even after the 5th attempt, over 60 seconds between each attempt (which is ridiculous).

Leave a Reply

Your email address will not be published.

Related Post