# marketing events update subscriber state 405 when using "post" method

**URL:** <https://community.hubspot.com/t/marketing-events-update-subscriber-state-405-when-using-post-method/63432>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [August 22, 2022, 10:20am UTC](https://community.hubspot.com/t/marketing-events-update-subscriber-state-405-when-using-post-method/63432 "2022-08-22T10:20:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LuisvT](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@LuisvT](https://community.hubspot.com/u/LuisvT)\
**Post date:** [August 22, 2022, 10:20am UTC](https://community.hubspot.com/t/marketing-events-update-subscriber-state-405-when-using-post-method/63432/1 "2022-08-22T10:20:46Z")

</div>

Dear Forum,

I am currently accessing the marketing event api within the automation platform “MAKE” and wanted to update subscriber states with the post method (for adding attendees to the event). About three weeks ago I succesfully updated the subscriber states referencing a static list and using “upsert”.

Now I am getting a 405 error with the response “Method not allowed”.

It seems like “post” is not supported anymore - Has anyone experienced the same or an idea how to solve the problem?

![LuisvT_0-1661163505460.png](https://d2qpr2jzcazej7.cloudfront.net/original/1X/2e5108c3a8c94cac19fd6b2c2061dc8fdd375e08.png)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [August 24, 2022, 5:28pm UTC](https://community.hubspot.com/t/marketing-events-update-subscriber-state-405-when-using-post-method/63432/2 "2022-08-24T17:28:36Z")

</div>

Hey, @LuisvT Thanks for reaching out. From the HubSpot side, the endpoints found here —[Marketing Events API](https://developers.hubspot.com/docs/api/marketing/marketing-events) allow for testing from the dev docs. You can also use something like Postman to set up a quick test and verify the endpoint itself works as you are expecting outside your 3rd party automation tool.

To confirm, you are making a request to one of the two Subscriber State Changes endpoints?

```lia-code-sample
POST /marketing/v3/marketing-events/events/{externalEventId}/{subscriberState}/email-upsert

```

```lia-code-sample
POST /marketing/v3/marketing-events/events/{externalEventId}/{subscriberState}/upsert

```

Hey, @JBeatty @jpsanchez, did I miss anything troubleshooting related here?

Thank you for taking a look! — Jaycee

---

<div class="post-metadata">

**Author:** ![LuisvT](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@LuisvT](https://community.hubspot.com/u/LuisvT)\
**Post date:** [August 25, 2022, 7:56am UTC](https://community.hubspot.com/t/marketing-events-update-subscriber-state-405-when-using-post-method/63432/3 "2022-08-25T07:56:52Z")

</div>

[@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) thanks for your reply! I was already using the

`POST /marketing/v3/marketing-events/events/{externalEventId}/{subscriberState}/upsert`

endpoint and with different event id´s it was working before. But then we decided to create the event ids based on the name of the events and some event names had [] in them. I think that was the problem and the eventId was not recognized properly. As a result a 405 error has occured. When I changed the system to use just a GUID as EventId it was working again.

I was also searching for resources that describe the character requirements for EventId´s but I could not find any.

Luckily this 405 is not an issue anymore.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [August 25, 2022, 2:45pm UTC](https://community.hubspot.com/t/marketing-events-update-subscriber-state-405-when-using-post-method/63432/4 "2022-08-25T14:45:54Z")

</div>

Hi @LuisvT, thanks for letting the community know what the issue was and how you resolved it! — Jaycee
