Docs / Security / Error codes

Error codes

One catalogue for the API, the CLI and the web app.

CLI exit codes group errors so scripts can react without parsing text.

SE_AUTH_REQUIREDexit 10. You're not signed in. Run storeenv login.
SE_AUTH_STATE_EXPIREDexit 10. The login link expired. Run storeenv login again.
SE_AUTH_TOKEN_EXPIREDexit 10. The session expired. The CLI refreshes it when it can.
SE_IDENTITY_MISSINGexit 11. No identity yet. Finish setup in the browser.
SE_DEVICE_NOT_ENROLLEDexit 11. This device can't decrypt. Approve it from another device or run storeenv recover.
SE_KEY_LOCKEDexit 11. The keychain is locked.
SE_NOT_A_GIT_REPOexit 20. Not inside a Git repository. cd into your project or pass --project.
SE_NO_REMOTEexit 20. The repository has no remote. A local project id is kept in .storeenv.json.
SE_NO_ENV_FILESexit 21. No .env files found.
SE_PARSE_ERRORexit 21. A line isn't KEY=value. Fix it or quote the value.
SE_REMOTE_AHEADexit 30. The remote has a newer version. Pull first, or push --force.
SE_LOCAL_CHANGESexit 30. Pull would overwrite unpushed local changes.
SE_FORBIDDEN_SCOPEexit 40. You can't read or write this. Use storeenv request.
SE_PRODUCTION_ACCESSexit 40. The environment needs production access. Ask an owner.
SE_KEY_SHARE_PENDINGexit 41. You have access but no keys yet.
SE_INTEGRITYexit 50. An integrity check failed. Nothing was written.
SE_FINGERPRINT_MISMATCHexit 50. A member's key changed unexpectedly. Verify their fingerprint.
SE_NETWORKexit 60. Can't reach StoreEnv. Check your connection or proxy.
SE_RATE_LIMITEDexit 60. Too many requests. Retry after the time shown.
SE_SERVERexit 70. Something went wrong on our side.

Stop pasting secrets into chat.

$ npm i -g storeenv Get started