GOGETMUSCLE Community Can’t create timeline event (HS claims it already exists)

Can’t create timeline event (HS claims it already exists)

I have code that tries to create timeline events. Before creation, it checks if an event with the necessary ID already exists with

`GET https://api.hubapi.com/crm/v3/timeline/[EVENT-TYPE-ID]/[EVENT-ID]`

which gives me “404 Not Found” as a response.

So next, I try to create the timeline event with

`POST https://api.hubapi.com/integrations/v1/[CONTACT-ID]/timeline/event`

to which Hubspot replies:

`409 Conflict {“status”:”error”,”message”:”An event already exists with that id ([EVENT-ID]).`

How can that be? And how can I fix this?

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

記事一覧で記事詳細内に設置しているモジュールの値取得方法記事一覧で記事詳細内に設置しているモジュールの値取得方法

こんにちは、どなたかわかる方いらっしゃいますでしょうか。{% if contents %} {% for content in contents %} {{ content.widgets.モジュール名.body.モジュールのフィールド }} {% endfor %} {% else %} 記事がありません。 {% endif %}上記のように記述しているのですが詳細ページでモジュールの値を取ることができません。{{ content.name }}などは表示されています。rec_postだと表示できています。以下記事では取得できているようでした。https://community.hubspot.com/t5/%E8%87%AA%E7%A4%BE%E3%81%AE%E3%83%92%E3%83%B3%E3%83%88-%E3%83%8A%E3%83%AC%E3%83%83%E3%82%B8%E5%85%B1%E6%9C%89/%E3%83%96%E3%83%AD%E3%82%B0%E3%81%AE%E3%82%B5%E3%83%9E%E3%83%AA%E3%83%BC%E6%96%87%E3%82%92-%E4%BB%BB%E6%84%8F%E3%81%AE%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%81%A7%E8%A1%A8%E7%A4%BA%E3%81%95%E3%81%9B%E3%82%8B%E6%96%B9%E6%B3%95-%E9%96%8B%E7%99%BA%E8%80%85%E5%90%91%E3%81%91/m-p/330526