Team and Hosting

Troubleshooting

Fixes for common agent, approval, branch, and custom domain problems in Doxa

Find the problem

Use the section that matches what we see. Each section names the message or symptom, explains what usually causes it, and lists the fix.

What we seeGo to
An agent cannot reach Doxa or cannot see our projectsAn agent cannot connect
A request to publish, restore, delete, or change a domain is still waitingAn approval is waiting
Saving a page or a branch fails with a branch or conflict messageA branch error when saving
A custom domain does not verifyA custom domain does not verify

An agent cannot connect

When an agent connects through the MCP server, Doxa checks the connection before each tool call. Most problems come from one of these cases.

  • The agent is not signed in. Sign in with OAuth when the client prompts us. For Codex, run codex mcp login doxa and approve access. For VS Code, click Start on the doxa server and sign in.

  • The connection was not granted the right project. We pick projects on the consent screen. If the agent reports that a project is not found, ask it to call list_projects to see what this connection can use.

  • The connection lacks a permission. If a tool reports that the connection does not have the permission, reconnect Doxa and grant the permission on the consent screen. Scopes are explained in Agent scopes.

  • The user's role does not allow the action. A team member with a limited role cannot run every action on a shared project. Ask a project owner to check the role under Teams and roles.

  • The agent signed up with the auth link but did not finish. Open the link the agent gives us and enter the 6-digit code to approve. The code must be entered in the browser before the agent can list our projects.

For the setup steps for each client, see Connect an agent.

Reconnect after changing access:

If we change the projects or scopes of a connection, the agent may keep the old access until we reconnect it. Revoke and add the connection again from the connected agents list when in doubt.

An approval is waiting

Publishing, restoring, generating, domain changes, and deletes need a person's approval by default. An agent that asks for one of these actions creates an approval request, and the action runs only after we approve it. Review the request on the approvals page of the dashboard. See Agent approvals for the full list of actions.

If we want to remove a branch while a publish request for it is still pending, Doxa refuses the delete. The fix is to cancel the pending request first:

  1. Ask the agent to call cancel_approval_request with the request ID from the error details.

  2. Ask the agent to call delete_branch again.

If we no longer want the change, cancelling the request and leaving the branch in place is also a valid outcome. The branch keeps its content, and we can publish it later.

Approvals are not automatic:

An approval request does not expire into an approval. Until a person approves it, the action does not run.

A branch error when saving

Edits go to a named branch, so most save errors come from the state of that branch. The dashboard and the MCP server report these cases.

Message or codeWhat it meansFix
branch_not_foundThe branch no longer exists. It may have been published and erased.Open the branches list and choose the branch that still exists, or create a new branch from the current version.
conflictThe page changed since we read it.Read the page again, then save with the current revision.
branch_behindThe branch is behind main.Sync the branch with main (the sync_branch tool for agents, or the sync option in the dashboard), then save again.
conflicts_unresolvedThe branch has conflicts that were not resolved.Resolve the conflicts with sync_branch, then save again.
main_changedmain changed while we were working.Read main again and retry.
mdx_invalidA page on the branch has MDX that does not parse, so publishing stopped.Read each listed page, fix it, then publish the branch again.

An empty main branch is normal:

A site with no published version yet has no main branch. The content page shows an empty state in that case, which is not an error. Publish the first version to create it.

If a preview fails with a rate limit, we wait about a minute before we build another preview.

Asset uploads have their own messages. Images must be a PNG, JPEG, WebP, GIF, or SVG file of 2 MB or less. If an image is too large, resize or compress it and upload it again.

For the editing workflow, see Branches and previews and Content editor.

A custom domain does not verify

A custom domain is attached from the dashboard and must be verified before it serves our docs. When verification does not finish, check these points first:

  • The DNS record we added matches the record shown in the custom domain settings exactly, including the host name.

  • The change has had time to reach DNS resolvers. Wait, then check again.

  • The domain is attached to the right project and site.

Once the domain verifies, confirm that it serves our docs. Setup steps are in Custom Domains.

Still stuck

If none of these fixes work, we can check the agent's activity and the branch state, then try the step again.