vakna: a box named <box> already exists
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
Pick another name, or delete the old box with vakna delete <box> first.
Why can't I create a box with this name?
Box names are unique in your account. vakna list shows the ones in use.
What it looks like
sh
vakna create apiprints vakna: a box named api already exists
hint: vakna list
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":"exists","message":"a box named api already exists","hint":"vakna list","docs":"https://vakna.com/docs/errors/exists","mocked":true}