Skip to main content
Troubleshooting and Support

Accessing and Sharing Error Logs for Troubleshooting

Updated over 2 months ago

๐Ÿ’ก If you receive an error, please contact your CSM to get dedicated support

Accessing error logs

When encountering issues with your Snowflake AI Agents, error logs can provide valuable information for diagnosis and resolution.

Be sure to share ALL events from the native app so that Lang.ai can provide any necessary operational support. You can examine the logs and events shared with Lang.ai using the event table configured for your account. See Snowflake's documentation for more details about event sharing.

Using Snowsight: If you have an existing Lang.ai app installation, you can easily enable events in Snowsight by going to Data Products -> Apps -> Snowflake AI agents -> Events and Logs. On the Events and Logstab, toggle the All events button in the Events and logs sharing section

Using SQL: The above event sharing can also be enabled using the following commands:

-- Set app name if it's different from the default.
SET LANGAI_APP_NAME = 'LANG_AI';

-- Enables event sharing for the Native app.
ALTER APPLICATION IDENTIFIER($LANGAI_APP_NAME) SET AUTHORIZE_TELEMETRY_EVENT_SHARING=true;

Checking your application version

To ensure you're using the latest version of our application, follow these steps:

1) Open your Snowflake worksheet or console.

2) Run the following SQL query:

SHOW APPLICATIONS

3) In the results, locate the row for our application.

4) Check the label and patch columns to identify your installed version.

If you need help updating your application, please contact our support team.

Did this answer your question?