Errors

vakna: no box "<box>"

Note
This page is generated from a mock CLI, and its numbers are placeholders.

Verified against vakna 0.0.0-mock on · generated from the CLI's own definitions

Run vakna list and use a name from it.

Why can't Vakna find my box?

No box has that name, id or id prefix. The hint names the closest match when there is one.

What it looks like

sh
vakna shell apj -- ls
prints vakna: no box "apj" hint: vakna list # did you mean api?

Exit code 255.

sh
vakna receipt nope
prints vakna: no box or task "nope" hint: vakna list # did you mean api?

Exit code 1.

As JSON

With --format json the error is one JSON line. Branch on its code, not on the message or the exit code.

Output
{"v":1,"event":"error","code":"not_found","message":"no box \"apj\"","hint":"vakna list # did you mean api?","docs":"https://vakna.com/docs/errors/not_found","mocked":true}

Commands that print it

View as Markdown