Building and Evaluating Data Agents -Snowflake Connection Error in All Labs: "Programmatic access token is expired"

Hi Course Staff and Community,

I am currently working through the Building and Evaluating Data Agents course, but I am unable to proceed because I am encountering a DatabaseError across all the labs.

The error occurs right at the beginning when trying to import from helper (which initializes the Snowflake session). It seems the platform-level Snowflake credentials have expired.

Here is the specific error message I am getting at the end of the traceback:

DatabaseError: 250001 (08001): Failed to connect to DB: SFSENORTHAMERICA-DEEPLEARNING_08_2025.snowflakecomputing.com:443. Programmatic access token is expired. [ec5b258d-e2ea-4c47-9ac7-6dbc0f1fa2da]

And here is the code cell that triggers it:

from helper import cortex_agent, State

Since this is happening in every single lab environment, it looks like a system-wide issue with the provided .env credentials rather than a code mistake.

Could someone from the technical team please look into this and renew the programmatic access tokens for the lab environments?

Thank you in advance for your help!

1 Like

Thanks for reporting! I’ve encountered the same and just reported to the teams.

I will share updates this week!

Lesly - DLAI