Skip to main content

Troubleshooting

Run doctor first:

npx prodverdict doctor --format agent

Access contract

SymptomFix
STRIPE_SECRET_KEY requiredSet read-only Stripe key in env or GitHub secrets
DATABASE_URL requiredSet read-only Postgres URL
CONNECTOR_ERROR on DBUse a read-only DB role; verify network from CI
Wrong findings / no usersCheck users_table and columns in prodverdict.yml
Paddle appUse source_of_truth: paddle and PADDLE_API_KEY

Config contract

SymptomFix
Missing env in CIAdd secret to GitHub Actions / Vercel; update .env.example
False positivesAdd var names to ignore_vars in config contract

General

SymptomFix
Exit code 2Invalid prodverdict.yml — run npx prodverdict validate
Exit code 1 with --strictWARN findings treated as fail — fix medium findings or drop --strict
Fixture modeUse --fixtures for demos without live credentials

Still stuck?