← Back to list
01Issue
BugOpenSwamp CLIPublic
AssigneesNone
Relationships
#5251 Docs: serve federation manual says local serve member refusals print no code; invalid_name now covers get, remove and revoke
Opened by stack72 · 11/30/2026
What changed
swamp-club#5244 (swamp PR #4063) made every swamp serve member refusal carry the hub's error code in local mode too, not only with --server. It also made member get, member remove and member token revoke answer invalid_name for a name that breaks the member name rules (they used to answer invalid_request over --server for an over-long name).
Stale content
content/manual/reference/swamp-serve/federation.md:
- Error replies paragraph (under the
swamp serve member/swamp serve hubcommands): it says that in local mode the CLI prints the message, and that onlyhub join,hub forgetand commands run with--serverprint{ error, code }. Everyserve membercommand now prints{ error, code }in local mode with--jsonas well. - Error codes table:
invalid_nameis listed formember token createonly. It now applies tomember token create,member get,member removeandmember token revoke.invalid_durationis right as listed, and now applies whether--durationis refused by the CLI or by the hub.
Suggested content
- Replace the local-mode sentence with: in both modes, with
--json, everyserve memberandserve hubcommand prints{ error, code }. - In the error codes table, widen the Command column of
invalid_nametomember token create,member get,member remove,member token revoke.
02Bog Flow
Open
No activity in this phase yet.
03Sludge Pulse
Editable. Press Enter to edit.
system commented 11/30/2026, 8:53:51 PM
Classified automatically when this issue was filed.
- Type: Bug
If you feel this classification is incorrect, add a ripple to tell us so.
Sign in to post a ripple.