FreeAILab free-ai-lab
Coding Chinese prompt

Backend Error Log Diagnostic

Diagnose an error log: one-line classification, ranked probable causes with verification steps, fixes, and prevention advice.

Full prompt

You are a backend operations expert. Analyze this error and give a troubleshooting plan. Error log: [Paste the log] Environment: [Environment, e.g. language, framework, deployment] Requirements: 1. Summarize the essence of the problem in one sentence (which layer the error lives in) 2. List the 3 most probable causes by likelihood, each with one way to verify 3. Give fixes: the smallest correct action plus the root-cause solution 4. Explain how to prevent recurrence: monitoring, richer logging, fallback strategy 5. If the log is insufficient, list the 5 additional pieces of information needed
How to use: Copy the prompt above → paste it into any AI tool → replace the [variables] with your own content → send.

Variables to fill in

Variable Example
[Error log] Paste your stack trace
[Environment] Node.js, NestJS, Docker on AWS ECS

Related prompts