Mock API Error Generator
Generates a sample JSON error-response payload — code, message and status together — for testing how your client handles a failed API call, not just a successful one.
How to use this tool
- Press generate for an error payload.
- Copy it, or generate again for another one.
Common use cases
- Testing error-handling UI
- Mock-server fixture data
- API-client error-path tests