> ## Documentation Index
> Fetch the complete documentation index at: https://ngrok.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ERR_NGROK_AGENT_OWNER_MISMATCH: Agent ID is owned by OWNER

> ERR_NGROK_AGENT_OWNER_MISMATCH: Agent ID is owned by OWNER. Learn why ngrok returns this error and how to fix it.

## What does ERR\_NGROK\_AGENT\_OWNER\_MISMATCH mean?

ngrok returns ERR\_NGROK\_AGENT\_OWNER\_MISMATCH with this message:

```text theme={"theme":{"light":"css-variables","dark":"css-variables"}}
Agent <ID> is owned by <OWNER>. Log in as that principal, or run 'ngrok agent register --new'.
```

> [!TIP]
>
> Troubleshoot ERR\_NGROK\_AGENT\_OWNER\_MISMATCH with your AI agent.
> Connect it to the [ngrok MCP server](https://ngrok.com/docs/mcp-server.md), then ask what caused the error and how to fix it.

## Where can I get more help with ERR\_NGROK\_AGENT\_OWNER\_MISMATCH?

Email [support@ngrok.com](mailto:support@ngrok.com?subject=Help%20with%20ERR_NGROK_AGENT_OWNER_MISMATCH) and include the error code.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.