Budget: 1000 UAH Deadline: 1 day
I corrected something similar earlier. First of all, your assumptions are somewhat inaccurate, although sometimes they can indeed be true. In fact, such an error can occur due to:
1. CSS/JS file not found, and instead, the server returns HTML (most likely a 404).
2. Error in MIME-type configuration (unlikely).
3. If you have some SPA on conditional React, Vue, etc., and you are using CloudFlare Pages - then the default fallback may trigger on a non-existent path. However, it will return not a 404, but some HTML with a status of 200 OK.
If you provide the full text of the error in private, along with the URL, I can give a more precise answer regarding the timing and cause.