Companion troubleshooting
Start with the run. In the portal, Activity › Runs shows each
failed run as category: message, and the Companion app's History tab
shows the same category next to runs of its pinned agents. The category
tells you who has to act.
| Category | Means | Retried automatically? | Who acts |
|---|---|---|---|
action_needed | A person has a step to do first: open the Companion, fix a connection, approve a sign-in | No | You |
dependency_failure | An outside system refused or failed: the site is down, slow, or rejected the request | Yes | Usually nobody; check the site if it keeps happening |
credential_missing | A required connection or secret isn't set up or granted | No | You |
input_invalid | The run's input or the agent's settings are wrong | No | You |
agent_bug | The agent failed in a way it didn't classify | Yes | The agent's author |
action_needed runs are not retried because retrying can't help until
someone does the step. Do it, then run the agent again.
"Companion '<name>' is offline"#
Companion '<name>' is offline. Open the Konstera Companion on that PC and try again.
The agent is pinned to the Companion called <name>, and that Companion
is not connected to Konstera right now. The run fails straight away with
category action_needed; it doesn't wait and isn't retried.
Check, in order:
- Is the PC on and signed in? Sleep, a restart or a signed-out session all take the Companion offline.
- Is the app running? Look for the Konstera Companion icon in the system tray. If it isn't there, open Konstera Companion from the Start menu. It reconnects by itself.
- Is it connected? In the app, Overview › WebSocket should say Connected. Reconnecting… means it can't reach Konstera: check the PC's internet connection, and that your firewall or proxy allows outbound HTTPS and WebSocket connections.
- Is it still paired? If the app shows Pair with Konstera or a Companion revoked notice, it was unpaired or revoked. Pair it again (how) and re-pin the agent to the new Companion.
- Is the agent pinned to the Companion you think? In Settings › Companions, open each Companion and check its Pinned agents.
Then run the agent again.
A similar message, "Companion '<name>' disconnected.", means the Companion went offline while the run was using it (the PC slept, the app was quit, the network dropped). Bring it back online and run again.
Action needed vs dependency failure#
Both can come from a sign-in, so read the message.
| You see | Category | What to do |
|---|---|---|
| The Companion is offline | action_needed | Open the Companion on that PC (above) |
| The site refused the username or password | action_needed (when the agent says so) | Check the Website login's details in Integrations › Connections; sign in by hand on that site to confirm they work |
| The site wanted a code, passkey or CAPTCHA and nobody completed it in time | action_needed (when the agent says so) | Run again while someone is at the Companion PC (hand-offs) |
| No Website login is granted, or a secret field the agent needs is empty | Usually credential_missing | Grant the connection on the agent's Bindings tab, or fill the missing field |
| The site was down, timed out, or returned an error page | dependency_failure | Usually nothing: Konstera retries. If it keeps failing, check the site in a normal browser |
Which category a site problem gets depends on the agent: a well-built
agent says whether it needs a person (action_needed) or the site failed
(dependency_failure). If it doesn't say, the failure is recorded as
agent_bug. Agent authors: see raising AgentFailure.
Pairing problems#
| Problem | Fix |
|---|---|
| The portal says No pending pairing for that code | Check the code against the app, character by character. Codes expire: if the app's expiry time has passed, cancel and pair again |
| That code has expired | In the app, click Cancel, then Pair again for a new code |
| You need Tenant Settings permission to pair a Companion | Ask a workspace admin to approve the pairing, or to give you that permission |
| Pairing fails as soon as you click Pair in the app | You probably entered the portal address. Enter the API base URL of your workspace instead |
Other browser-agent problems#
| Problem | Fix |
|---|---|
| The agent keeps asking for sign-in on every run | The site is ending its sessions, or the profile was deleted. Check that nothing on the PC clears %LOCALAPPDATA%\Konstera\browser-profiles |
| You want the agent to sign in from scratch | Quit the Companion, delete the connection's folder under %LOCALAPPDATA%\Konstera\browser-profiles, open the Companion again (details) |
| The site refuses the password even though it's right | Some sites refuse password sign-in in any automated browser. Use a sign-in the site offers that a person can approve (passkey, approve on phone) during a hand-off; the profile then keeps the session |
| A secret is "not typed" and the run says it refused to type on another site | The page wasn't on the Website login's site. If the sign-in legitimately passes through another domain (company single sign-on), add it to Extra domains |
Still stuck#
Note the run's id from Activity › Runs and the Companion's name, and book a call or contact your Konstera administrator. Don't send passwords, codes or the contents of the browser-profiles folder.