Trying to translate widgets on emails makes viewing email impossible


#1

Hi There,

Hubspot ID: 4203244

Im running into an error using /content/api/v2/emails Im trying to create a new email with translated content that includes the widgets. hitting this end point returns a 201
hubspotResponseCode
but when I go to the page to view said email I receive

.
This isn't a problem if I exclude widgets entirely but I get a half translated page
.
is there any reason why when I send widgets to the email api it breaks viewing the page?

Thank you!


#3

Hi @Alexander_Tingey, that endpoint looks like an undocumented endpoint which is unsupported and therefore prone to break or change at any time. You can use the Templates API reliably (https://developers.hubspot.com/docs/methods/templates/put_templates_template_id)