Medium severityconfiguration
Power BI Refresh Error:
002003
What does this error mean?
A Streamlit in Snowflake application cannot be accessed because it does not exist in the specified schema, was dropped, or the user lacks privileges.
Common causes
- 1The Streamlit app was dropped by another user or a cleanup script
- 2The app was created in a different schema than the one currently in context
- 3The user does not have USAGE privilege on the schema where the app resides
- 4The app name in the URL is incorrect or was renamed
How to fix it
- 1Step 1: Run SHOW STREAMLITS IN SCHEMA schema_name to list all Streamlit apps and verify the app exists.
- 2Step 2: Check that the database and schema context match where the app was created.
- 3Step 3: Grant USAGE on the database and schema plus the required privilege on the specific Streamlit object.
- 4Step 4: Recreate the app if it was dropped: CREATE STREAMLIT app_name ROOT_LOCATION='@stage/path' MAIN_FILE='app.py'.
- 5Step 5: Verify the stage referenced by the Streamlit app still exists and contains the app files.