Hi,
I'm trying to hide my SP list from browser (and from search) but I keep getting the error message that it can't find the list in my site.
However I know that the list exists in my site. I copied it's name out of the URL for that list to ensure I didn't make a typo and I checked the original name that the list was created with and its the same. The list was renamed subsequently but I tried this new name and it also didn't work.
This is my flow:

I get this error:



Here is the error message in full:
{
"status": 404,
"message": "List 'ListName' does not exist at site with URL 'https://TenantName.sharepoint.com/teams/SiteName'.\r\nclientRequestId: 01476e56-48f4-46bc-8233-b62592d67444\r\nserviceRequestId: 91987da0-b0ac-5000-9343-e25266331a9c",
"source": "https://TenantName.sharepoint.com/teams/SiteName/_api/web/lists/getbytitle('ListName')",
"errors": [
"-1",
"System.ArgumentException"
]
}
I would really appreciate some pointers on what I'm doing wrong. Thank you so much.
Regards,
Daniel