JavaScript Not Loading on HubSpot Page: Returns 404 Error

Hi everyone,

I’m facing a strange issue with JavaScript on our HubSpot pages. Here’s what’s happening:

  • Problem: JavaScript files created in the Design Manager as module.js files have suddenly stopped loading on our HubSpot pages. They appear in the network requests but consistently return a 404 error.
  • Investigation so far:
    1. I’ve verified the file paths in the Design Manager, and there are no errors or issues indicated.
    2. The developer who originally created the modules reviewed them but didn’t find any problems.
    3. I checked the audit log for any recent changes that might have caused this issue but couldn’t find anything relevant.
    4. To refresh the cache, I republished the module with some slight changes, but the issue persists.
    5. I also tried adding new scripts from the HubSpot Marketplace as a test. These scripts were deployed successfully and appeared in requests, but they also failed to load (returning 404 errors).

It seems like the deployment process is working, as any code changes I make are reflected, but the files just won’t load on the live pages.

Has anyone encountered this issue before, or can anyone suggest where I should look next? Any help would be greatly appreciated!

Thanks in advance!

Hi @Instigo and welcome to the Community, it’s so great to have you here!
Thanks for reaching out to us!
I’d love to put you in touch with some of our Top Experts:
Hi @stefen, @alyssamwilie and @jonchim do you have suggestions to help @Instigo, please?
Thanks so much and have a great day!
Best,
Bérangère