# The code does not match this sign-in

> Canonical HTML: https://screenrig.ai/problems/agent-connection-code-mismatch/

HTTP 400 · `agent_connection_code_mismatch`

## What it means

The API answers with HTTP 400 Bad Request and an `application/problem+json` document when the condition is The code does not match this sign-in. The document's `type` member is `https://screenrig.ai/problems/agent-connection-code-mismatch`, the address of this page, and its `code` member is `agent_connection_code_mismatch`.

## What to do

Compare the code with the one screenrig login printed in the terminal and enter it again. After five mismatches the sign-in expires; run screenrig login again.

## Player action

This problem defines no Player action class. It belongs to a project, pairing or account flow that an agent or the dashboard drives.

## Reference

| Field | Value |
| --- | --- |
| Code | `agent_connection_code_mismatch` |
| HTTP status | `400 Bad Request` |
| Type | `https://screenrig.ai/problems/agent-connection-code-mismatch` |
| Player action | `none` |

- [All problem types](https://screenrig.ai/problems/)
- [API reference](https://screenrig.ai/docs/api/#problems)
- [Problem registry YAML](https://screenrig.ai/docs/api/problems.yaml)
