C3 AI Documentation Home

Troubleshoot Environments and Applications in an Error State

If an application or environment is in an error state, you can check the logs in C3 AI Studio.

Requirements

Have the StudioAdmin role.

View environment an application logs

To view environment logs C3 AI Studio, navigate to Envs > Logs.

To view application logs C3 AI Studio, navigate to Apps > your application > Logs.

Troubleshoot errors

Some errors might be benign, such as timeout and connection errors. Timeout errors can resolve themselves over time as the task retries or network connection refreshes. C3 AI Studio connection errors are also likely benign if you can access your application and resources. These errors might display as an error or unknown state.

If you're unable to troubleshoot an error, contact C3 AI Support. Provide error descriptions and downloadable logs.

Move an environment or application out of an error state

If you determine an error state is benign after viewing the environment or application logs, you can manually move an environment or application out of an error state and into a running state in the C3 AI Studio Console.

Use the StudioEnv Type to move an environment into a running state:

JavaScript
StudioEnv.forId('<env_id>').withState('RUNNING').merge();

Replace <env_id> with your environment ID.

Use the StudioApp Type to move an application into a running state:

JavaScript
StudioApp.forId('<app_id>').withState('RUNNING').merge();

Replace <app_id> with your application ID.

Was this page helpful?