Im unable to add ui as a subdomain

The issue is, i have hosted a next js website on cloudflare pages, and i added a domain for it which is now the issue is the when I had to it gives errors in browser console where it says some files are missing in build but the build logs are perfectly fine. now when i open same website but using domain it doesn’t give any error infact if i add other domain it works fine! only that isn’t working.

Additionally, the domain shows that its Inactive(Error)


Are you seeing any error codes/messages along with it on your dashboard when you try to add the subdomain?