Images & Some URLs Returning 5xx in SEMrush/Ahrefs but Working Fine in Browser

Hi,

I’m running a Next.js website (https://goodcarehhs.com/) and facing an issue where some images and a few URLs (different ones each time) are reported as returning 5xx server errors in site audit tools like SEMrush and Ahrefs. When I check these same URLs in the browser, they load perfectly fine without any errors.

Has anyone experienced this issue before?

I’d like to know how I can resolve this? See the attached screenshot below showing the reported URLs in Ahrefs as 502 errors:

Any guidance or fixes would be greatly appreciated!

Thanks in advance.

@faizan.salamexpert If you have Netlify prerendering enabled, make sure you disable it, it’s known to cause these kinds of issues.