Static cloudflare HTML hosting - Error 522

Hi guys, I registered a domain with cloudflare, and have tried hosting a static HTML website using Cloudflare pages. I have created a page, synced the git repository (it has a single HTML file in it).

I then set SSL to full (strict), enabled DDNSEC, added a custom domain (which populated a CNAME record). I still get a 522 error weirdly. Not sure where to go from here.

You added the custom domain in the Pages project? Not just adding a CNAME yourself?

What is the domain name?