MetricSign
EN|NLRequest Access
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

  1. 1Step 1: Run SHOW STREAMLITS IN SCHEMA schema_name to list all Streamlit apps and verify the app exists.
  2. 2Step 2: Check that the database and schema context match where the app was created.
  3. 3Step 3: Grant USAGE on the database and schema plus the required privilege on the specific Streamlit object.
  4. 4Step 4: Recreate the app if it was dropped: CREATE STREAMLIT app_name ROOT_LOCATION='@stage/path' MAIN_FILE='app.py'.
  5. 5Step 5: Verify the stage referenced by the Streamlit app still exists and contains the app files.

Frequently asked questions

How do I share a Streamlit app with other Snowflake users?

Grant USAGE on the containing database and schema, then grant the specific Streamlit privilege: GRANT USAGE ON STREAMLIT app_name TO ROLE role_name.

Can Streamlit in Snowflake access external URLs or APIs?

Yes, but only through Snowflake External Access Integrations. Direct outbound network calls from Streamlit code are blocked by default.

Other configuration errors