Hello, we are using this API to enable hubspot to send resubscription mail to users of our portal.
https://api.hubapi.com/email/v1/form-resubscribe/test@email.com/jsonp/initiate?portalId=xxxxxxx&resub_form_name=&resub_form_address=about%3Ablank&callback=resubscription_callback
It was working fine until recently this API started giving us 500 error.
Here is the response
{"status":"error","message":"internal error","correlationId":"e60a4a23-2e66-48bd-b2b4-0d5a9dbd276e"}
Could someone please help with this? Thanks
Hey, @ADedhia
This looks like the endpoint that is used with the option — Resubscribe a contact through a HubSpot form (Marketing Hub Professional, Enterprise, or Legacy Marketing Hub Basic only). Is that correct? I ask because I do not see it listed in the API catalog as a publicly available endpoint — Email Subscriptions API.
Because this feature is limited to specific subscriptions, I’d recommend filing a ticket with support and asking the following:
- Is the endpoint publicly available?
- Can they work with their internal resources to use the correlation ID you listed to get more details?
My understating, and a reply from our product team, this API is triggered by a customer filling out a form and not intended to be triggered “on behalf” of your customers.
Best,
Jaycee