Skip to main content
← 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:

  1. Error replies paragraph (under the swamp serve member / swamp serve hub commands): it says that in local mode the CLI prints the message, and that only hub join, hub forget and commands run with --server print { error, code }. Every serve member command now prints { error, code } in local mode with --json as well.
  2. Error codes table: invalid_name is listed for member token create only. It now applies to member token create, member get, member remove and member token revoke. invalid_duration is right as listed, and now applies whether --duration is refused by the CLI or by the hub.

Suggested content

  • Replace the local-mode sentence with: in both modes, with --json, every serve member and serve hub command prints { error, code }.
  • In the error codes table, widen the Command column of invalid_name to member token create, member get, member remove, member token revoke.
02Bog Flow
◉OPEN○TRIAGED○IN PROGRESS○SHIPPED

Open

11/30/2026, 8:53:51 PM

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.