High severityauthentication
Power BI Refresh Error:
SWITCH_SITE_ERROR
What does this error mean?
Tableau Cloud returned error 401003 (SWITCH_SITE_ERROR) — unauthorized. The request was not authorized — authentication is required.
Common causes
- 1The personal access token (PAT) used for authentication has expired or been revoked.
- 2The authentication token was generated for a different Tableau site than the one being accessed.
- 3No authentication credentials were included in the request.
How to fix it
- 1Generate a new personal access token in Tableau Cloud under My Account Settings.
- 2Ensure the token is included in the X-Tableau-Auth header of every authenticated request.
- 3Verify that the token was created for the correct Tableau site.