How to Map Errors Across Protocols
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://statuscodefyi.com/iframe/entity//" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://statuscodefyi.com/entity//
Add a dynamic SVG badge to your README or docs.
[](https://statuscodefyi.com/entity//)
Use the native HTML custom element.
Different protocols use different error codes for the same logical conditions. This decision tree helps you find the equivalent error code when integrating HTTP APIs with gRPC backends, WebSocket connections, DNS lookups, or SMTP delivery — keeping your error semantics consistent across layers.
Decision Steps
Are you starting from an HTTP error and need to find the equivalent in another protocol?
Is the HTTP error a 401 or 403 (authentication/authorization)?
Is it a 401 (no credentials / invalid credentials)?
Is the HTTP error a 404 (not found)?
Is the HTTP error a 5xx (server error: 500, 503, 504)?
Is it a 503 or 504 (service unavailable or timeout)?
Are you starting from a gRPC error and need the HTTP equivalent?
Is the gRPC error UNAUTHENTICATED (16) or PERMISSION_DENIED (7)?