Troubleshooting
For document authors and integration developers, this guide explains how to resolve access, version conflict, rendering, and CLI problems.
Document access is denied
Check that the URL contains the correct share key and that the link hasn't been revoked. For an account document, sign in with the owner's mere.world account.
A view link cannot edit, and a comment link cannot create suggestions.
A write returns a version conflict
409 Conflict means that the document changed after your read. To reconcile the write, follow these steps:
- Read the current Markdown.
- Reapply the intended change.
- Send the current version with
If-MatchorbaseVersionwhen writing.
Use --force only for deliberate replacement.
A suggestion conflicts
The target text is missing or ambiguous after another edit. Read the current source and recreate the suggestion against that text.
Suggestions retain original text and context to prevent acceptance from changing another passage. Legacy suggestions without context can require recreation after edits.
Live and Source look different
Live renders Markdown and supported fences. Source shows exact text. If a block renders unexpectedly, inspect its fence and closing delimiter in Source.
Uploaded media does not render
Check the following conditions:
- The upload completed
- The Markdown URL points to the returned
/f/asset - The document hasn't been deleted
- The file uses a supported content type
CLI command is missing
To list supported CLI commands, run this command:
agmd commands --jsonIf your executable lacks a supported command, then update it with the CLI installer.
The shell cannot find agmd
Add the installation directory to PATH. The default directory is ${HOME}/.local/bin. To choose another directory during installation, set AGMD_BIN_DIR.
The CLI requires Node.js 20 or later.
An agent overwrote another edit
To restore the document, review History and recovery. Use version-aware agent writes. For changes that require review, give the agent suggest access.
Node media is unavailable
For missing media controls, see Node troubleshooting.
Service health
To check database and service configuration, run this command:
curl -fsS https://agentsmarkdown.com/api/healthWhen reporting a problem, include the route, status code, request identifier if present, and steps to reproduce. Remove document keys and tokens.