Notion

When something goes wrong — Notion

Fix a missing profile, a settings file that does not read or a refused write in the Notion CLI.

Start with the symptom, run the check, then retry the command. Keep the error code and the profile name for a support request.

SymptomWhat to do
Not sure what is set upRun notion doctor. It reads no keyring and uses no network.
notion is not foundOpen a new terminal, and check that npm's global folder is on PATH.
"name a profile"Put the profile first, as in notion personal config show, or set WCNOTION_PROFILE.
The settings file does not readdoctor lists every problem in the file under config.issues. Run the config unset each one gives, or fix the file by hand.
doctor lists files.problemsOther users of the computer can read config.json or enter its folder. Run each chmod that doctor prints after "to make it private:". doctor never changes a file mode itself.
A write is refusedThe profile's permissions or WCNOTION_READ_ONLY stop it; see settings.

Never paste a token, a password or private content into a support request.