MGS9023: invalid request
The server answered 400 invalid argument because the route could not act on
what the request carried. The message names the field or value to change.
[MGS9023] unknown target "biuld"; run `magus describe targets` to list them
see: .../MGS9023.md
Why
Each /api/v1/ route validates before it reads anything. The refusals share
this code because they share one fix, changing the request:
- A body that does not parse. The route takes JSON of one shape, and the message names it.
- A missing or malformed parameter. A path, a line range, a snapshot identity, a lens depth.
- A name the workspace does not have. A target, a figure focus, an op.
- A file the route will not serve. A path that escapes the workspace, is not
a regular file, or is over the 1 MiB context cap (
413). - A figure too large to draw. The figure module refused it, and its own text
names the lens to narrow (
422).
Resolution
Change the request as the message says and send it again. A route that names a
target points to magus describe targets for the list.