'get "Property not in account? when checking robots.txt [closed]

I see many URLs with status Excluded in search console google, when I click on "TEST ROBOTS.TXT BLOCKING" I get following error:

Property not in account

You are verified to see sc-domain://, but it's not in your account.

when I click on add property now nothing will happen

when I change URL in the browser from https://www.google.com/webmasters/tools/robots-testing-tool?siteUrl=sc-domain%3Amysite.com&path=&utm_source=search_console&utm_campaign=index-panel&hl=en to https://www.google.com/webmasters/tools/robots-testing-tool?siteUrl=https://%3Amysite.com&path=&utm_source=search_console&utm_campaign=index-panel&hl=en it asks me to add the URL as a property again; while I already added domain property

I also cleared my robots.txt to be sure nothing is blocked yet after more than 8 days I see about 1.5M URL blocked in search console



Solution 1:[1]

Yeah I have searched a lot robot.txt is working when I check the URL of robot.txt but when I test it in the search console it didn't open in the tester tool even I am a verified owner of the domain. So adding the URL prefixes is the only solution to test the robot.txt in GSC.

Solution 2:[2]

Change it from siteUrl=sc-domain%3Aexample.com to siteUrl=https://www.example.com

That worked for me.

See https://support.google.com/webmasters/thread/19217968?hl=en

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Muhammad usman
Solution 2 amatek