Getting intermitent 404's for JavaScript chunks on Semrush

Hi guys.

On my team we have a NextJS app deployed in Netlify.
The SEO team on SemRush run an audit of our app and saw that we are getting 404 errors for a lot of resources intermitently (some months it shows up, some it does not).

These are some of the files reported as a 404.
(I put mydomain.com just for example purposes. There is a real domain).

https://mydomain.com/_next/static/chunks/2140.209ab677af964397.js
https://mydomain.com/_next/static/chunks/5913.9e4a830a464dbfce.js
https://mydomain.com/_next/static/chunks/7983.ae7dec4c0963889b.js
https://mydomain.com/_next/static/chunks/webpack-96c907bc147f13be.js
https://mydomain.com/_next/static/chunks/584-6613e7ecad613414.js

Do you know or can help me to fix this so that we do not get 404’s on these resources?

Thanks!

Without looking at your specific site, I’d guess you’re running into this issue: