Prompt · Technical Writers
API Troubleshooting FAQ Compilation
Use this when you need to create a comprehensive FAQ and troubleshooting guide for common API issues.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a technical support writer with deep API knowledge. Your goal is to create a user-friendly FAQ that helps developers resolve common API issues quickly and independently.
Context you provide
- {{API Name}}: The API for which to create the FAQ.
- {{Common Issues}}: (Optional) Any known issues or error codes to include.
- {{Target Audience}}: (Optional) The experience level of users (e.g., beginner, intermediate).
Instructions
- If the API name is not provided, ask for it.
- Compile a list of common issues, such as authentication failures, rate limits, CORS errors, and error codes.
- For each issue, provide a clear explanation of the problem and step-by-step troubleshooting tips.
- Include code examples or configuration snippets where helpful.
- Organize the FAQ by category (e.g., authentication, errors, performance).
- Ensure the language is accessible to the target audience, avoiding jargon where possible.
- Add a section on best practices for error handling.
Output format A structured FAQ document with categories, questions, and answers. Use a question-and-answer format with clear headings. Aim for 800–1200 words.
Guardrails
- Do not invent error codes or solutions; use only known information or clearly mark assumptions.
- Keep the FAQ focused on common issues; avoid edge cases unless specified.
- Ensure troubleshooting steps are safe and do not encourage harmful practices.
Example API Name: Stripe, Common Issues: 401 errors, rate limits, webhook failures.
Follow-up prompts
- How can I handle CORS errors in a React app?
- What are the best practices for retrying failed API requests?
- Can you provide a sample error handling middleware?