# Troubleshooting

bsln version: `0.0.1b40`

SDK source: `baseline-robotics/engineering@c8db8d9fbc8ce8e0524c5ee45cebdfcec34fc666:robotics/bsln`

Page source: `baseline-robotics/engineering@c8db8d9fbc8ce8e0524c5ee45cebdfcec34fc666:robotics/bsln/docs/customer/DIAGNOSTICS.md`

[Read on the web](https://docs.baseline-robotics.com/help/) | [Markdown](https://docs.baseline-robotics.com/help.md) | [Documentation index](https://docs.baseline-robotics.com/llms.txt)

## Check your connection

Run a read-only identity check with the CLI profile that failed:

```bash
bsln get identity --json
```

For DNS, TLS or connection errors, check [service status](https://status.baseline-robotics.com/) and confirm `BSLN_URL` with [connection settings](https://docs.baseline-robotics.com/cli.md#connection-settings). These errors can occur before the API assigns a request ID.

| Result | Action |
| --- | --- |
| `401` | Renew the login for the selected profile or replace the expired or revoked token. |
| `403` | Check that the selected token has `read` scope on the intended API origin. |
| Wrong user or workspace | Select the intended [CLI profile](https://docs.baseline-robotics.com/cli.md#profiles-for-accounts-and-workspaces) before retrying. |

## Session and station errors

<a id="failure-modes-and-workarounds"></a>
<a id="availability-in-this-release"></a>
<a id="control-and-timing-limits"></a>

Live control needs `control` scope, an idle station and approved access. Watching and reading recordings need `read`. Motor temperature logs do not provide thermal protection. Contact Baseline Robotics after a thermal or effort safety stop.

Check [release availability](https://docs.baseline-robotics.com/index.md#release-status) and the [station timing limits](https://docs.baseline-robotics.com/station/commands.md#control-and-timing-limits) if a capability or control rate differs from your setup.

Use the [session status command](https://docs.baseline-robotics.com/cli/sessions.md#inspect-a-session) to read `state` and `end_reason`. A `404` can mean the ID belongs to another account. If creation returns `409` with a busy-station message, wait for an idle station of the requested type. For `403 task_not_assigned` or `hosted_access_unavailable`, confirm your beta task and SDK access with Baseline. On a one-session pilot, check that you used the assigned request ID and an approved duration.

For unexpected motion, use the [E-stop command](https://docs.baseline-robotics.com/index.md#emergency-stop). For a refused shutdown or a lost connection, follow the [station recovery checks](https://docs.baseline-robotics.com/station/commands.md#when-the-connection-drops).

## Why a session ended

| `end_reason.code` | Meaning |
| --- | --- |
| `stopped` | A stop request ended the session. Read `end_reason.by` for its source. |
| `estop`, `fault` | An E-stop or station fault ended the session. |
| `time_limit`, `starved` | The session reached its configured duration or the station stopped receiving commands. |
| `disconnected`, `station_lost` | The controller exceeded the reconnect window or the station lost its server connection. |
| `server_restarted`, `error`, `other` | Read `end_reason.detail` for the specific reason. |

## Send a support report

<a id="reading-reports-and-recordings"></a>

Check [the outcome and report counters](https://docs.baseline-robotics.com/results.md#read-the-outcome-before-the-counters) and [recording completeness](https://docs.baseline-robotics.com/recordings.md#check-completeness) when diagnosing a finished session.

Email [info@baseline-robotics.com](mailto:info@baseline-robotics.com) with the output of `bsln --version` and `uv run python --version`, the command, the error text and request ID, and the session ID if one exists. Redact tokens, cookies and private media.
