docs(api-reference): UZ-PROVIDER-011, the absent source workspace - #184
Merged
Conversation
`PUT /v1/admin/platform-keys` used to answer `UZ-REQ-001` when `source_workspace_id` named a workspace that does not exist, so the reader was told to re-check a value that was already well-formed. The id parsed; the workspace was simply not there. The status is unchanged at 400. What changed is the code and the sentence, so this page needed the row rather than an edit to an existing one. Title and message are copied from the daemon's registry verbatim, because the page and the registry are read against each other. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016ftejYp8RxA9yHk1kDSxtR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the
UZ-PROVIDER-011row to the error-code reference.PUT /v1/admin/platform-keysansweredUZ-REQ-001whensource_workspace_idnamed a workspace that does not exist. The reader was told "That request wasn't valid. Double-check the values you entered and try again" — sent to re-check a value that was already well-formed. The id parsed; the workspace was simply not there.The HTTP status is unchanged at 400.
source_workspace_idis a body field rather than a path segment, so the resource the route addresses is the platform key and a 404 would name the wrong thing. What changed is the code and the sentence the caller reads.UZ-PROVIDER-011Title and message are copied verbatim from the daemon's registry, since the page and the registry are read against each other.
Pairs with agentsfleet#652 (
ffd77b5c2), which declares the code and switches the handler to it.🤖 Generated with Claude Code
https://claude.ai/code/session_016ftejYp8RxA9yHk1kDSxtR
Greptile Summary
Adds the
UZ-PROVIDER-011API error reference for a well-formedsource_workspace_idthat identifies a nonexistent workspace.Confidence Score: 5/5
The documentation-only change appears safe to merge.
The new row follows the reference’s established structure, supplies code-specific recovery guidance in the appropriate column, and introduces no identified correctness, security, or repository-rule violations.
Important Files Changed
Reviews (1): Last reviewed commit: "docs(api-reference): UZ-PROVIDER-011, th..." | Re-trigger Greptile
Context used: