# Marketing Email API suddenly returning 500 error

**URL:** <https://community.hubspot.com/t/marketing-email-api-suddenly-returning-500-error/105463>\
**Category:** APIs & Integrations\
**Tags:** email\
**Created:** [April 22, 2024, 6:25pm UTC](https://community.hubspot.com/t/marketing-email-api-suddenly-returning-500-error/105463 "2024-04-22T18:25:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TWentworth](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/twentworth/32/75413_2.png) [@TWentworth](https://community.hubspot.com/u/TWentworth)\
**Post date:** [April 22, 2024, 6:25pm UTC](https://community.hubspot.com/t/marketing-email-api-suddenly-returning-500-error/105463/1 "2024-04-22T18:25:18Z")

</div>

I’ve been running a daily process to generate an email using [https://api.hubapi.com/marketing/v3/emails/](https://api.hubapi.com/marketing/v3/emails/)

It worked great for 6 months but started returning errors last Monday. Even the sample API code on [Marketing API | Marketing Email - HubSpot docs](https://developers.hubspot.com/docs/api/marketing/marketing-email) no longer works.

Here’s the response I’m getting:

{“correlationId”:“7b126aa3-d404-4bf2-a347-49590f58551b”,“message”:“internal error”,“status”:“error”}

Any ideas?

---

<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:** [April 23, 2024, 5:58pm UTC](https://community.hubspot.com/t/marketing-email-api-suddenly-returning-500-error/105463/2 "2024-04-23T17:58:18Z")

</div>

Hey, @TWentworth 👋 Thanks for flagging this. I get the same generic 500 error message when testing from the endpoint tab. I reported this to the team that owns this endpoint. I’ll update here when I get us more info or an update.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![TWentworth](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/twentworth/32/75413_2.png) [@TWentworth](https://community.hubspot.com/u/TWentworth)\
**Post date:** [April 29, 2024, 6:02pm UTC](https://community.hubspot.com/t/marketing-email-api-suddenly-returning-500-error/105463/3 "2024-04-29T18:02:01Z")

</div>

[@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) any update? It’s still broken for me 😞
