How to resolve 'Google Console Sitemap Couldn't Fetch' issue?

Hi, I’m trying to submit my sitemap to Google Console. It says that it couldn’t be fetched. I did the URL inspection it says that the URL is on Google and that the page fetch was successful. It was also crawled successfully. Before I requested the index, I discovered this error:

Access to fetch athttps://shop.app/pay/session?v=1&token=d301c506-7800-4f7d-9456-5c138ac6a001&shop_id=62921015472

from originhttps://gingerwillow.myshopify.comhas been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.

After it was crawled l found this error:

Googlebot blocked by robots.txt

XHR

https://shop.app/pay/session?v=1&token=59459ec9-fd87-4d1a-a4ba-88802087d6bd&shop_id=62921015472

When I look up the robots.txt for my website, everything says Disallow. This is my first shop and I am new to all of this. What can I do to fix this? I appreciate any help. Thank you! gingerwillow.myshopify.com

Did u take a look at this? https://shopify.dev/themes/seo/robots-txt , https://developers.google.com/search/docs/crawling-indexing/robots/intro , https://shopify.dev/themes/architecture/templates/robots-txt-liquid . If u read all that it should help u, if even after u still have trouble pls let me know.

Thank you for your help. I created the robot.txt to customize it. Then added:

User-agent: googlebot
Allow: /

Is this the right code? Sorry, I’ve never done any coding before. I opened the robots.txt tester in the Search Console & tested the googlebot. It does say that it is allowed now. Not sure if it fixed the issue submitting the sitemap yet. Also, how do I fix the No ‘Access-Control-Allow-Origin’ issue? Could that prevent the sitemap from being fetched too?