I am getting robots.txt and Sitemap unreachable error. URLS with www. are failing and others are working. Can any body help me with this

I am getting robots.txt and Sitemap unreachable error. URLS with www. are failing and others are working. Can any body help me with this

Hi, !
Here are some related topics that might be helpful:
https://community.vercel.com/t/unreachable-robots-txt/386
https://community.vercel.com/t/robots-txt-unreachable/496
Let us know how you get on!