Repository navigation
Name the request in a Management API error the document does not describe - #8
Merged
Merged
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
…ribe MEILI_MANAGEMENT_URL set to https://api.meilisearch.dev/api/v2 made the client call /api/v2/api/v2/projects, which answers 404 with no body, and the CLI said only "answered HTTP 404". The message now carries the request, "HTTP 404 to POST https://…/api/v2/api/v2/projects", so that the doubled prefix shows. No check on the URL's format: the error says what was called, the user decides. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
curquiza
force-pushed
the
management-url-host
branch
from
October 15, 2026 09:27
6ba98a8 to
a654620
Compare
15 tasks done
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.
Important
On hold. The Management API is changing: a project's
masterKeywill no longer be returned byGET /projects, only at creation if at all, and a better error handling is in progress. This pull request waits for those decisions, then follows them. Design discussion in progress on how--projectand the config file identify a Cloud project.What
Name the request in a Management API error the document does not describe, so that a wrong base URL shows in the error itself. Stacked on #7, which it needs.
Found by hand:
MEILI_MANAGEMENT_URL=https://api.meilisearch.dev/api/v2made the client call…/api/v2/api/v2/projects, which answers 404 with no body, and the CLI said only "The Management API answered HTTP 404." It now says "The Management API answered HTTP 404 to POST https://api.meilisearch.dev/api/v2/api/v2/projects." The URL's format is not checked: the error says what was called, the user decides.Contract
output.mdwith the code that implements itsrc/lib/output.ts, errors throughsrc/lib/errors.tsTests
--helpsnapshot: unchangedtest/lib/errors.test.tspnpm lint,pnpm typecheck,pnpm testpass locallySimplicity
src/lib/:ManagementApiErrortakes the request, given by the error interceptor ofclients/management.tsDocs
output.md: the message of a status the spec describes neither by body nor by description is the status and the requestHousekeeping
oclif.manifest.json: unchanged🤖 Generated with Claude Code