An agent appears offline
What you might see: an agent appears as Offline in Fleet, or remains in draft after you start its worker. An agent’s status reflects its worker’s connection to KAOP. The control plane checks the connection every 30 seconds and marks the agent offline after 90 seconds without a response. A draft agent becomes live when its worker first connects. Work through these checks:Check that the worker is running
Check connectivity to KAOP
AGENTOPS_URL points to your account’s host and that the worker can make outbound
HTTPS connections. Workers do not require inbound connections.Check the worker token
Authorization: Bearer <worker token>. If the token was rotated
or revoked, update the worker with a valid token. You can generate one from the agent’s
Permissions tab under Worker token, then restart the worker.Check the agent ID, if configured
X-Agent-Id header, it must match the agent associated with the token.
You can also omit this optional header and let the token identify the agent.Review the last heartbeat
401. If these checks do not resolve the
issue, contact Support for help identifying the cause.An agent is online but does not receive work
An online status confirms that the worker is responding to connectivity checks. Fleet health provides additional information about whether it can receive work.API or webhook requests return 401 or 403
What you might see: a request returns an authentication or permission error. Start by identifying which type of credential the request requires.- GitHub-type endpoints expect
X-Hub-Signature-256. - Bearer-type endpoints expect
Authorization. - If the configured header is absent, KAOP also accepts
Authorization: Bearer <token>as a fallback for senders that cannot use custom headers.
403 response can also indicate that the caller lacks the required permission or that the
account is suspended.
A run reports a missing credential
What you might see: a run fails, or a tool is unavailable, with an error that names a credential. Start with the error message in the run details. It may identify the missing credential and the configuration needed. For example, a Datadog error may nameDD_API_KEY and DD_APP_KEY.
Then check the following:
Confirm the credential is bound to the agent
Check that the credential is available
Check whether the integration needs user access
Check the execution context
An integration or MCP server is failing
What you might see: a tool call fails, or a connection displays a warning badge. Check both the connection’s status and its most recent test result:- Lifecycle status shows whether the connection is pending, active, in error, revoked, or disabled.
- Health badge shows the result of the most recent credential check.
A trigger does not start a run
What you might see: a schedule or endpoint is configured, but the expected run does not appear. Start with the guidance for your trigger type:Schedules
Schedules
- Is the trigger enabled? A schedule is only registered while it is enabled and has a cron expression. Disabling it unregisters it without deleting it.
- Is the agent enabled? A disabled agent does not fire triggers. It still answers manual and chat invocations, which is why a disabled agent can look healthy while its schedule is silent.
- Is the cron expression what you meant? An invalid expression is rejected at write time with the expression quoted back at you. So is a cron-and-timezone pair with no single UTC equivalent, which is how daylight-saving edge cases surface.
Inbound endpoints
Inbound endpoints
- Did the request pass verification? A request that fails the endpoint’s authentication is rejected before any run is created. See API or webhook requests return 401 or 403 above.
- Is the target enabled? A request aimed at a disabled agent or a disabled workflow is refused with a conflict rather than queued.
- Is the body the right shape? For an endpoint, the whole request body is the agent’s
input. The invoke and schedule APIs differ: they wrap the object under an
inputkey. - Does the target exist? A missing endpoint, trigger, agent, or workflow returns a not-found response, which is worth distinguishing from an authentication failure.
Channel messages
Channel messages
A run fails with a certificate error
What you might see: a self-hosted agent is online, but its runs fail with Agent does not trust a TLS certificate, or with an error such asSELF_SIGNED_CERT_IN_CHAIN or
unable to get local issuer certificate. Your model gateway logs show no requests from the agent.
The agent checks every TLS certificate against the public certificate authorities (CAs) in its
image. A certificate issued by your organization’s own CA fails that check, so the connection
closes before any request is sent. Common causes are a model gateway or MCP server on an internal
hostname, and a TLS-inspecting proxy that re-signs outbound traffic.
To have the agent trust your CA in addition to the public ones:
Export your CA certificate
Store the certificate in the agent's namespace
Point the agent at the ConfigMap
helm install:caBundle.existingConfigMap and runs still fail with this error, the
ConfigMap is missing the CA that issued the certificate. Add that CA’s root and intermediate
certificates to the ConfigMap.
A run is queued or fails before work begins
What you might see: a run remains queued, or fails without showing agent activity. The failure category can help you choose your next step.- A queued run can fail if no worker becomes available within the allowed time. This may happen sooner when the target agent is already offline, in draft, or has failed to deploy.
- A claimed run can fail when it reaches its execution time limit, including when a worker stops responding.
Knowledge search returns no results
What you might see: an agent’s knowledge search returns no matches, or the Knowledge page reports that search is unavailable. Check the following:Search availability
Document indexing status
Search filters
Knowledge base access
HTTP status codes
Use this table to help interpret an API error.429 rate-limit responses. If a run reports 429, check the
response from the upstream provider used by the agent.