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:
- I’ve verified the file paths in the Design Manager, and there are no errors or issues indicated.
- The developer who originally created the modules reviewed them but didn’t find any problems.
- I checked the audit log for any recent changes that might have caused this issue but couldn’t find anything relevant.
- To refresh the cache, I republished the module with some slight changes, but the issue persists.
- 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!