26.2 26.1
26.2 26.1

Error Handling Agents

Errors may occur while working in Scheer PAS. To facilitate troubleshooting, corresponding error and notification messages are displayed in the application. The overview of error messages allows you to identify possible causes and possible solutions. It also refers to documentation pages that contain further details.

Agents View and Agent Details Page

The following problems can occur while you work with the Agents view and the agent details page:

Problem or Error Message

Possible Reason

Solution

Further Information

No agents match the current filters.

The current search term and filters exclude every agent.

Use option Clear Filters to return to the full list, or adjust your search term and filters.

Working With the Control Hub

No agents yet.

No agent is deployed on your platform. Agents reach the platform with the project that ships the service providing them, so this message is also displayed if you have deployments but none of them contains an agent.

Deploy a project that contains a service with an agent.

The column Tokens displays a dash instead of the usage figures.

The usage figures of this agent could not be read. This is not the same as an agent that has never been called: an agent without calls reports 0 tokens and an empty bar.

Reload the page to read the figures again. If the problem continues, contact your administrator.

Working With the Agents View

The list of agents cannot be loaded, and an error message with a reload action is displayed.

The Control Hub could not reach the platform, or the service that reports the deployed agents is temporarily unavailable.

Use the reload action of the error message to read the list again. If the problem continues, reload the page. If it still continues, contact your administrator.

Working With the Agents View

The usage figures do not contain a call that has just been made.

The figures are recorded while the agents serve calls, so they can lag slightly behind.

Wait a moment. If the figures are still not updated, reload the page.

Working With the Agents View

An agent has the status API Key missing.

The agent has no virtual API Key, or its virtual API Key no longer exists on the platform, and the configuration of its component deployment sets no own API Key for it. The Agent Gateway rejects every call of the agent.

Open the agent details page, select a virtual API Key in the Model Access card, and click Save Changes. You need the group Developer or Administrator of the platform.

An agent has the status API Key missing, although the configuration of its component deployment sets an own API Key for it.

The Control Hub could not read the configuration of the component deployment, for example because you do not have the right to view the deployments of the platform. The agent calls the LLM with its own API Key all the same.

Ask an administrator of the platform for the right to view its deployments. If you have this right, reload the page.

An agent has the status Model missing.

The agent has no model, and the provider of its virtual API Key has no default model. The Agent Gateway rejects every call of the agent.

Open the agent details page, select a model in the Model Access card, and click Save Changes. Alternatively, ask an administrator to set a default model for the LLM provider.

An agent has the status Config conflict, or the Model Access card shows a warning that the configuration overrides the virtual API Key or the model.

The configuration of the component deployment that runs the agent sets an API Key or a model for the agent, for example model.apiKey or model.model below the configuration key of the agent. These values replace the model access, and the agent calls the LLM with them.

Remove one of the two: the value in the configuration of the component deployment (use the link Open configuration of the warning), or the virtual API Key and the model of the agent. You need the group Developer or Administrator of the platform.

The Model Access card, or the message after saving the model access, states that the deployment must be deployed again to manage the model access of the agent.

The deployment of the agent was deployed before the platform could store the model access of an agent. The agent therefore has no model access that you can change.

Deploy the deployment named in the message again. Then change the model access.

Redeploying or Changing the Version

The Model Access card states that the Agent Gateway of the platform does not know the agent.

The Agent Gateway of the platform has no record of this deployed agent.

Deploy the deployment again, or ask an administrator of the platform to examine it.

The Model Access card states that the model access of the agent cannot be read.

The Control Hub could not read the model access, for example because the Agent Gateway is temporarily unavailable or you lack the permission to read agents on the platform.

Reload the page. If the problem continues, contact your administrator.

Saving the model access fails with a message that the agent requires a virtual API Key.

You selected No Virtual Key for an agent that requires a virtual API Key.

Select a virtual API Key and save again.

Working With the Agent Details Page

Saving the model access fails with a message that the virtual API Key does not exist on the platform.

The selected virtual API Key was removed from the platform, for example while you changed the model access.

Reload the page, select another virtual API Key, and save again. If no suitable key exists, ask an administrator to create one.

Saving the model access fails with a message that the model access could not be saved.

Another error occurred. The message names the cause.

Check the cause in the message and save again. Your selection is kept. If the problem continues, contact your administrator.

Working With the Agent Details Page

Field Model reads Select a model in red, and Save Changes is not available.

The provider of the selected virtual API Key has no default model, so the agent needs a model of its own.

Select a model from the list.

Working With the Agent Details Page

The selected entry of field Virtual Key is displayed in red.

The virtual API Key assigned to the agent no longer exists on the platform.

Select another virtual API Key and save.

A line below field Virtual Key states that the virtual API Keys of the platform cannot be read.

The Control Hub could not read the virtual API Keys of the platform. The field offers only No Virtual Key and the current virtual API Key of the agent.

Reload the page. If the problem continues, contact your administrator.

Read only. A developer or an administrator of <platform> can change the model access.

You are not a Developer or an Administrator of the platform the agent runs on.

Ask a Developer or an Administrator of the platform to change the model access, or ask an Administrator to give you the group Developer.

Managing a User

This agent is not deployed.

No deployed agent matches the address of the agent details page, for example because the agent was removed or the link is outdated.

Open the Agents view and open the agent from the list.

Working With the Agents View

The agent details page does not display Open Logs.

Grafana is not configured for your installation.

Ask your administrator to configure Grafana.

Inspecting Logs

Agent Development

The following problems can occur while you develop and run an agent:

Problem or Error Message

Possible Reason

Solution

Further Information

GraphRecursionError: Recursion limit of 25 reached without hitting a stop condition.

The run reached its step limit. The task needs more steps, for example more tool calls, than the limit allows.

Set a higher recursionLimit in @Agent, in the configuration of the agent, or in the options of the run.

What is an Agent?

A call or the build of an agent fails with an error that names recursionLimit, or the agent logs a warning and ignores its configuration entry.

The value of recursionLimit is not a whole number greater than 0. An invalid value in the configuration makes the whole configuration entry of the agent invalid.

Set recursionLimit to a whole number greater than 0. A changed configuration applies without a restart of the service.

What is an Agent?

Agent <Name> has a checkpoint configured; threadId is required in invoke/stream options.

The agent has conversational memory, and the call gives no threadId.

Give a threadId on every call of invoke() and stream().

What is an Agent?

No checkpoint provider found for id <id>

The checkpoint of the agent names a provider that is not registered.

Use memory or postgres, or register your custom provider in a module that imports AgentModule of @pas/agent-module.

What is an Agent?

PostgresCheckpointProvider: the package '<name>' is not installed.

The agent uses the postgres checkpoint provider, but a package it needs is not installed. @pas/agent-module does not install these packages.

Run npm install pg @langchain/langgraph-checkpoint-postgres.

What is an Agent?

PostgresCheckpointProvider: 'connectionString' is required

The postgres checkpoint of the agent has no connection string.

State connectionString in the checkpoint of the agent in the local configuration.

What is an Agent?

PostgresCheckpointProvider: cannot reach postgres://user@host:port/db: <cause>

The provider cannot reach the database. The build of the agent fails.

Check the connection string and make sure that the database runs and can be reached from the service.

What is an Agent?

Agent skills: the package 'deepagents' is not installed.

The agent declares a skill source, but the package deepagents is not installed. @pas/agent-module does not install it.

Run npm install deepagents.

What is an Agent?

The log shows a failed build of an agent, or a call to the agent fails with the error of its build.

The build of the agent failed, for example because a Model Context Protocol (MCP) server cannot be reached yet, or because an MCP server is stated as a token that nothing provides. The service keeps running.

Fix the cause that the error names. You do not need to restart the service: the next call to the agent builds it again.

What is an Agent?

📘

Related Documentation: