Troubleshooting

Most connector errors say what to do. Look up the message you see below. For 401 and other errors any call can get, see API errors.

The getstream agents commands below are in the Stream CLI:

curl -fsSL https://getstream.io/cli.sh | bash

A user cannot connect

What you see Why What to do
403 server_side_only on connections.create or connections.authorize, or a user's connections are reached from a server holding the API secret, not from a device or page The call runs on a device or page, with a user's token Make the call from your server, with your API secret
404 connection_not_found when you read a user's connection The call has no userId, or it names another user Pass userId with the user who owns the connection
400 this consent is unknown, expired or already finished: start it again on the handoff The handoff token was used already. It works once Start a new sign-in, and hand its token to the popup
Start from the page that opened this, so this browser can be checked. The sign-in page was opened on its own, in another tab or browser, or by a browser that drops the link to the page that opened it Open the link the CLI printed in a regular browser, and allow pop-ups
Linear: Could not find OAuth client with clientId ... Please check that you are logged into the correct workspace. The client set on linear_app belongs to another Linear workspace than the one the browser is on Switch to the app's workspace in Linear, then start the sign-in again

Saving credentials fails

What you see Why What to do
"code": "connector_credential_rejected", or getstream agents connections tools prints Needs reconnect or The provider rejected the stored token or key, and validate answers "status": "needs_reauthorization" The provider no longer takes the connection's token, key or sign-in. getstream agents connections tools <connection> says which. Save a working token with echo "$TOKEN" | getstream agents connections update <connection> -H Authorization=-, or a key with getstream agents connections update <connection> -H <header>=env:<VAR>. For a sign-in, delete the connection and create it again with the same --label

A sync fails or leaves a connector out

What you see Why What to do
connector github left out: the app has no connection with id or label "acme"; add it and sync again No connection of the app has that label or id. With required: true, the whole sync fails instead Run getstream agents connections create github --label acme --agent support (see Quickstart).
connector "github": no app connection with id or label "acme": add the connection, or drop required The connector has required: true, and no app connection has that id or label Create the connection with that label, or unbind the connector and bind it again without --required
the sandbox may reach an allow list of domains, ranges or connectors' hosts, and the "not-verified" tier allows sandboxes no network: ... The agent's connector entry sets sandbox: true, and the organization is on the "not-verified" tier, which allows sandboxes no network. The same check runs on every save that changes the sandbox Leave sandbox: true off the entry, and sync again. The sync works, and getstream agents tools shows SANDBOX no. See Sandbox
409 agent config "support" (...) already answers its messages: one agent answers a channel connection Another agent already uses that Slack connection Run getstream agents connectors unbind <agent> slack_bot on the other agent, or give this agent another connection
connectors/http/open_meteo.yaml:23: a read-only tool must be GET or HEAD, and "get_forecast" is POST The tool has read_only: true and a method other than GET Leave read_only out on a tool that changes something. See Read-only tools
base_url must be a public https URL without userinfo, query or fragment The base_url of an HTTP API file is not a public https address, or it holds a user name, a query or a fragment Use the API's public https address, such as https://api.open-meteo.com

A conversation has no tools from a connector

What you see Why What to do
linear connect per person; a terminal test leaves them out A test in the terminal has no signed-in user, so it has no user's account to use Test with getstream agents test support --sync --dashboard. See User connection
The session's events include connector_unavailable with "reason": "no_selection" The user has no connected connection to that connector, or has more than one getstream agents connections tools --user <user id> <connector> says which: Error: user "alice" has no connection matching "github" (looked at ids, labels and connectors), Error: user "alice" has 2 connections to connector "github" (<id>, <id>): pick one by its id, or Error: connection <label>: no credentials yet: start a consent or set its credentials. Let the user connect. With more than one, delete the ones the user does not need
required connector "github" cannot be used: not_connected: the connection is not connected The connector has required: true, and its connection is not connected yet Save the connection's credentials, or unbind the connector and bind it again without --required
A tool fails with the server's own error, such as web_search_exa error (401): Invalid API key. getstream agents test prints Tool exa__web_search_exa failed: and the error The MCP server refuses the key you saved. A server can list its tools without checking the key, so the connection can still show Connected Save the right key: getstream agents connections update exa -H x-api-key=env:EXA_API_KEY
Tool github_code__search_code failed: The API answered 401 Unauthorized: and the API's own error The HTTP API refuses the key you saved. Stream doesn't try the key until a tool calls the API, so the connection still shows Connected Save the right key: getstream agents connections update github_code -H Authorization=env:GITHUB_TOKEN

Deleting fails

What you see Why What to do
409 custom_search is used by connections ... and by agent config bindings ...: delete or unbind them first... You delete a connector that a connection or an agent still uses Delete those connections and unbind the entries with getstream agents connectors unbind <agent> <name>, then delete the connector
409 an agent config binds this connection as its fixed connection: unbind it first... You delete a connection that an agent uses with connection getstream agents tools <agent> shows the connection under ACCOUNT. Run getstream agents connectors unbind <agent> <name> with the NAME shown there, then getstream agents connections delete <connection>. With --force, the delete goes ahead and leaves the entry naming a connection that no longer exists

Going further