DEV Community

Deniz Akşimşek
Deniz Akşimşek

Posted on • Originally published at denizaksimsek.com on

Cloudflare Pages: Failed: an internal error occurred

I deploy my website on Cloudflare Pages (at time of writing). My builds were failing with the error message:

17:24:49.795    Deploying your site to Cloudflare's global network...
17:24:50.632    Failed: an internal error occurred

Enter fullscreen mode Exit fullscreen mode

No other information.

Googling yields that many things can cause this issue. In my case, it was a directory called _redirects/ in the output folder.

Cloudflare expects _redirects to be a file to read redirect information from. (Indeed, that’s what I was using it for — it was output to a directory by accident).

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay