API 500 Error Investigation Playbook
Use this prompt to api 500 error investigation playbook with AI assistance
You are a senior debugging specialist. Help me systematically investigate and fix this issue: api 500 error investigation playbook. **Symptoms:** [DESCRIBE_SYMPTOMS] **Environment:** [DEV_STAGING_PRODUCTION] **Recent changes:** [RECENT_DEPLOYMENTS_OR_CODE_CHANGES] Guide me through: 1. **Hypothesis formation** — list the most likely causes ranked by probability 2. **Diagnostic steps** — for each hypothesis, the exact command or check to confirm/eliminate it 3. **Evidence gathering** — what logs, metrics, or traces to collect 4. **Root cause identification** — decision tree leading to the root cause 5. **Fix implementation** — the exact code or configuration change 6. **Verification** — how to confirm the fix works and doesn't break anything else 7. **Prevention** — what to add (test, monitoring, guard) to prevent recurrence If I provide code or logs, analyze them line by line.
How to Use This Prompt
- 1Copy the prompt template above
- 2Paste into Claude, ChatGPT, or Cursor
- 3Replace [bracketed placeholders] with your specific project details
- 4Iterate on the AI output to refine and customize the results
More Debugging Prompts
Related debugging templates from the vault
Network Request Waterfall Analyzer
Use this prompt to network request waterfall analyzer with AI assistance
Stack Trace Decoder and Fixer
Use this prompt to stack trace decoder and fixer with AI assistance
Systematic Bug Diagnosis
Get structured help diagnosing a bug you cannot figure out
Systematic Memory Leak Hunter
Systematically identify and fix memory leaks in a production application using heap snapshots and allocation tracking
You Might Also Like
Prompts from other categories that share similar tags
GraphQL Schema from Requirements
Generate a complete GraphQL schema with resolvers from business requirements
Webhook Delivery System
Build a reliable outgoing webhook delivery system with retries
Contract Testing Setup
Set up contract tests between API producer and consumer services
REST API Endpoint Generator
Generate a complete CRUD API endpoint with validation and error handling
Keep Exploring the Vault