Are you importing from another environment?
This is a known issue when moving PowerApps/ Power Automate to a new tenant. This behaviour is not consistent as some flows were imported with no errors and others were rejected due to Unauthorized exception on GetTable().
One way to avoid this issue, is to use environment variables instead of directly selecting the SharePoint site, list and view in the SharePoint actions inside your flow.