{"id":1859,"date":"2025-11-19T12:26:28","date_gmt":"2025-11-19T13:26:28","guid":{"rendered":"http:\/\/gogetmuscle.com\/?p=1859"},"modified":"2025-11-19T17:40:29","modified_gmt":"2025-11-19T17:40:29","slug":"cant-create-timeline-event-hs-claims-it-already-exists","status":"publish","type":"post","link":"http:\/\/gogetmuscle.com\/index.php\/2025\/11\/19\/cant-create-timeline-event-hs-claims-it-already-exists\/","title":{"rendered":"Can’t create timeline event (HS claims it already exists)"},"content":{"rendered":"

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

\u00a0<\/P>

`GET\u00a0https:\/\/api.hubapi.com\/crm\/v3\/timeline\/[EVENT-TYPE-ID]\/[EVENT-ID<\/a>]`<\/P>

\u00a0<\/P>

which gives me “404 Not Found” as a response.<\/P>

\u00a0<\/P>

So next, I try to create the timeline event with\u00a0<\/P>

\u00a0<\/P>

`POST https:\/\/api.hubapi.com\/integrations\/v1\/[CONTACT-ID]\/timeline\/event`<\/a><\/P>

\u00a0<\/P>

to which Hubspot replies:<\/P>

\u00a0<\/P>

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

\u00a0<\/P>

How can that be? And how can I fix this?<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"

I have code that tries to create timeline events. Before creation, it checks if an event with the necessary ID already exists with\u00a0`GET\u00a0https:\/\/api.hubapi.com\/crm\/v3\/timeline\/[EVENT-TYPE-ID]\/[EVENT-ID]`\u00a0which gives me “404 Not Found” as a response.\u00a0So next, I try to create the timeline event with\u00a0\u00a0`POST https:\/\/api.hubapi.com\/integrations\/v1\/[CONTACT-ID]\/timeline\/event`\u00a0to which Hubspot replies:\u00a0`409 Conflict {“status”:”error”,”message”:”An event already exists with that id ([EVENT-ID]).`\u00a0How can that […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1859"}],"collection":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/comments?post=1859"}],"version-history":[{"count":1,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1859\/revisions"}],"predecessor-version":[{"id":1860,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1859\/revisions\/1860"}],"wp:attachment":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/media?parent=1859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/categories?post=1859"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/tags?post=1859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}