Secret file content.secret_file
HTTP 422
What happened
Files like .env*, private keys (*.pem, *.key, id_rsa*, id_ed25519*…), .npmrc, .netrc and similar usually hold secrets, so they're never uploaded by mistake.
What to do
- Remove them or add them to .lobsiteignore.
- To upload them anyway, pass
--include-secrets(not available in the browser).
What it looks like
{ "error": { "code": "content.secret_file", "message": "…", "why": "…", "fix": "…",
"docs_url": "https://lobsite.com/docs/errors/content.secret_file" } }