Tracking code causing a 404 on pages

We have implemented the Hubspot tracking code on our websites.

And we have the latest version on our site as of 27 days ago. But today we noticed through our automated tests that your Code is calling an URL which is causing a 404 and then the API fails.

You can see these issues on https://www.esendex.co.uk/

GET https://api.hubspot.com/messages/v2/message/public?portalId=2246691&messagesUtk=1c985514f789c85891f9a6a405969ff3&hubspotUtk=1c985514f789c85891f9a6a405969ff3 404 (Not Found)

Initial messages API call failed 
messageswidgetshell.js:1 

How come this has broken and when will it be fixed?

In fact, this is also happening on this forum so its suggests there been a release which has broken your tracking script.

Many Thanks

Ryan

Hi,

I too have the same 404 error on my website. It’s been fine up until today.

Is there an outage with your servers? (PS I can’t click the “Email when someone replies” checkbox, it’s un-clickable!)

It does seem to be fixed now. Be good to know why it took so long.

We are facing this same issue as of a few days ago.

@rybowden - Are you sure its resovled? After going to the website you provided it see the error in the console.

Yeah, it seems to have come back :confused:

We have the same issue since some days ago.

+1

Hello!
I have a error on apple mobile devices
messageswidgetshell.js:12 TypeError: undefined is not a function (evaluating ‘Object.assign(document.createEvent(“Event”),t)’)
s @ messageswidgetshell.js:12
messagesInitialized @ messageswidgetshell.js:1
(anonymous function) @ messageswidgetshell.js:1

Just so you are all aware, They have confirmed the issues on the developers forum:
https://integrate.hubspot.com/t/error-initial-messages-api-call-failed/4744/12

Hello,

We’ve added the hubspot tracking code with GTM and we are having

the Status Code: 404 Not Found.

Capture d’écran 2019-04-24 à 18.18.48.png

Any hints on how to solve this?

Thanks in advance