# Error 202 posting a Subscriber State Change

**URL:** <https://community.hubspot.com/t/error-202-posting-a-subscriber-state-change/60570>\
**Category:** APIs & Integrations\
**Tags:** events\
**Created:** [July 7, 2022, 11:30pm UTC](https://community.hubspot.com/t/error-202-posting-a-subscriber-state-change/60570 "2022-07-07T23:30:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TbotTest](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tbottest/32/195660_2.png) [@TbotTest](https://community.hubspot.com/u/TbotTest)\
**Post date:** [July 7, 2022, 11:30pm UTC](https://community.hubspot.com/t/error-202-posting-a-subscriber-state-change/60570/1 "2022-07-07T23:30:15Z")

</div>

Hello everyone. I’m adding subscribers to marketing events with email-upsert, everything looks fine, I don’t get any errors, but when I make a POST request, it throws a 202 response and no error is shown. Any solution?

---

<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:** [July 11, 2022, 10:19pm UTC](https://community.hubspot.com/t/error-202-posting-a-subscriber-state-change/60570/2 "2022-07-11T22:19:03Z")

</div>

Hi, @TbotTest 👋 Are you still experiencing this issue? Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![TbotTest](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tbottest/32/195660_2.png) [@TbotTest](https://community.hubspot.com/u/TbotTest)\
**Post date:** [July 11, 2022, 10:30pm UTC](https://community.hubspot.com/t/error-202-posting-a-subscriber-state-change/60570/3 "2022-07-11T22:30:02Z")

</div>

Hi [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074)! Luckily not. I found out that the problem was the date format. Here is someone who had the same problem: [https://community.hubspot.com/t5/APIs-Integrations/Add-subscribers-to-marketing-events-with-email-upsert/m-p/532503#M49037](https://community.hubspot.com/t5/APIs-Integrations/Add-subscribers-to-marketing-events-with-email-upsert/m-p/532503#M49037)  
Anyway, as a recommendation, I think that the 202 response (actually all of them) should return more information about what is failing, because it did not show anything, or that the data types sould match between the objects, and not like in this case than in the rest of objects the date format is DateTime and in activity records it is an integer.

Hope this helps someone!  
Greetings and thank you

---

<div class="post-metadata">

**Author:** ![KReddy4](https://avatars.discourse-cdn.com/v4/letter/k/5fc32e/32.png) [@KReddy4](https://community.hubspot.com/u/KReddy4)\
**Post date:** [September 19, 2022, 9:30pm UTC](https://community.hubspot.com/t/error-202-posting-a-subscriber-state-change/60570/4 "2022-09-19T21:30:53Z")

</div>

Hi [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) I am experiencing the same issue.
