June 2021 Summaries
1 posts from ReadMe
Filter
Month:
Year:
Post Summaries
Back to Blog
Good API error messages should not only report what went wrong but also guide users on how to resolve the issue, enhancing the developer's experience. Instead of using generic error messages like "Not Found," it is beneficial to provide unique error identifiers, detailed messages, and suggestions for fixing the problem, such as specifying the correct input parameters. Including links to relevant documentation and contact information for support can further assist users in resolving their issues. Additionally, incorporating a touch of creativity, such as whimsical poems, can make the error experience more engaging and align with a company's values, although it's optional. The ultimate goal is to create error messages that act as helpful guardrails, keeping users moving forward rather than leaving them at a dead end.
Jun 15, 2021
1,271 words in the original blog post.