APIs & Integrations

yoLotus
メンバー

Error 400 when creating multiple timeline event throught the batch API

解決

Hello,

 

I've encountered an error 400 when using the timeline event batch API, and the error message reported that it was due to one item in the batch.

I'm trying to get if 1 item one error prevents all others items in the batch from being processed. I see nothing related to batch error handling in the doc.

 

Here's the error I got:

 


[400]: {"status":"error","message":"There was an issue creating the timeline event: com.hubspot.contactsapi.exceptions.ContactExistsException: Contact already exists. Existing ID: <contact_id>","correlationId":"<correlationID>","context":{"errorDetails":["com.hubspot.contactsapi.exceptions.ContactExistsException: Contact already exists. Existing ID: <contact_id>"]},"category":"VALIDATION_ERROR","subCategory":"TimelineEventErrors.UPSERT_ERROR"}




 

0 いいね!
1件の承認済みベストアンサー
yoLotus
解決策
メンバー

Error 400 when creating multiple timeline event throught the batch API

解決

I've got my answer from Hubspot Developer and the whole batched will be dismissed if one item fails.

元の投稿で解決策を見る

3件の返信
yoLotus
解決策
メンバー

Error 400 when creating multiple timeline event throught the batch API

解決

I've got my answer from Hubspot Developer and the whole batched will be dismissed if one item fails.

STierney
コミュニティーマネージャー
コミュニティーマネージャー

Error 400 when creating multiple timeline event throught the batch API

解決

Hey @yoLotus - thanks for posting in the Community!

I'd like to tag in some experts here to see if they have any insight for us! @stefen, @ChrisoKlepke, @BarryGrennan - any idea what may be causing this error?

Shane, Senior Community Moderator





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 いいね!
yoLotus
メンバー

Error 400 when creating multiple timeline event throught the batch API

解決

Hello @STierney , thanks a lot to involve some expert in the loop 🙏

The error itself is not really an issue actually, I'd like to understand if other items of the batch (with no errors) have been successfully processed by Hubspot.

0 いいね!