🔌

gRPC Status Code Lookup — Map and Debug Microservice Error Codes

Look up any of the 17 gRPC status codes by number or name. Instantly see the description, HTTP status equivalent, and common causes for each code. Covers all codes from OK (0) through UNAUTHENTICATED (16). Free and runs entirely in your browser.

API ToolsAPI & Backend
Loading tool...

How to Use gRPC Status Code Lookup — Map and Debug Microservice Error Codes

How to Use the gRPC Status Code Lookup:

  1. Enter a Code or Name: Type a numeric code (0–16) or a status name such as NOT_FOUND, UNAUTHENTICATED, or DEADLINE_EXCEEDED into the input field. The lookup is case-insensitive and accepts spaces or hyphens in place of underscores, so "not found", "Not_Found", and "NOT_FOUND" all resolve to code 5.

  2. Read the Result: The result card shows the numeric code, canonical name, category (Success / Client Error / Server Error), and a plain-language description of what the status means in the gRPC protocol.

  3. Check the HTTP Equivalent: Below the main card you will find the nearest HTTP status code equivalent. gRPC runs over HTTP/2 but uses its own status space. When building HTTP/gRPC transcoding proxies (e.g., gRPC-Gateway, Google Cloud Endpoints, or Envoy), this mapping tells you what HTTP status your proxy should emit.

  4. Review Common Causes: The Common Causes list explains the typical scenarios that produce each status code in production. Use it to narrow down what went wrong in your service or client code without reading through the full gRPC spec.

  5. Use the Quick Reference Table: When the input is empty a full reference table of all 17 codes is shown. Click any row to load its full details — useful when scanning codes you are not yet familiar with.

  6. Copy the Code: Click Copy Code to copy the numeric code and name (e.g., "5 NOT_FOUND") to the clipboard for use in error messages, runbooks, or documentation.

Common Use Cases:

  • Debugging gRPC errors: Quickly decode an unfamiliar status code returned in a log or error response during development or on-call.
  • Client-side error handling: Decide which codes to retry (UNAVAILABLE, DEADLINE_EXCEEDED) vs. surface to the user (NOT_FOUND, PERMISSION_DENIED) when writing gRPC client code.
  • HTTP/gRPC transcoding: Map gRPC status codes to HTTP status codes when configuring Envoy, gRPC-Gateway, or a hand-written REST wrapper.
  • API documentation: Reference the exact canonical name and HTTP equivalent when writing runbooks, incident reports, or API docs.
  • Code reviews: Verify that a service is returning semantically correct status codes (e.g., INVALID_ARGUMENT instead of INTERNAL for user input errors).

Tips:

  • Prefer INVALID_ARGUMENT over INTERNAL for bad user input — INTERNAL signals a server-side bug, not a client mistake.
  • UNAVAILABLE is the correct code for transient failures; clients should retry with exponential backoff. INTERNAL signals a non-transient bug and should not be auto-retried.
  • FAILED_PRECONDITION means the system state must change before the operation can succeed; INVALID_ARGUMENT means the request itself is always wrong regardless of system state.
  • DEADLINE_EXCEEDED may be returned even when the operation actually completed on the server — design clients to handle this ambiguity with idempotency keys.

Frequently Asked Questions

Most Viewed Tools

📺

Screen Size Converter — Diagonal Dimension Tool

6,003 views

Calculate screen width and height from diagonal size and aspect ratio. Convert between inches and centimeters for displays, TVs, and monitors with instant dimension calculations.

Use Tool →
🖨️

DPI Calculator — Print Resolution Tool

3,914 views

Calculate DPI (dots per inch), image dimensions, and print sizes. Convert between pixels and physical dimensions for printing and displays.

Use Tool →
🔐

TOTP Code Generator — 2FA Testing Tool

3,616 views

Generate time-based one-time passwords from a TOTP secret key. Enter your base32 secret, choose a period and digit length, and get the current and next codes with a live countdown timer. Useful for testing and debugging 2FA integrations.

Use Tool →
{}

JSONL Formatter — Line-by-Line Validator

3,613 views

Format, validate, and inspect JSON Lines (JSONL) and NDJSON files. Validates each line individually, reports parse errors by line number, outputs compact JSONL or a pretty-print preview, and lets you download the cleaned file.

Use Tool →
{ }

JSON to Zod — Schema Generator

3,497 views

Generate Zod validation schema code from a JSON sample object. Infers z.string(), z.number(), z.boolean(), z.array(), z.object(), and z.null() types automatically. Handles nested objects, arrays of objects with optional field detection, and outputs copy-ready TypeScript with import and z.infer type alias.

Use Tool →
🔑

Password Entropy Calculator — Crack Time Estimator

3,298 views

Calculate the information-theoretic bit entropy of any password or API key. Detects character set pools automatically, shows the total number of possible combinations, and estimates crack time across five attack scenarios from rate-limited web logins to GPU cracking clusters.

Use Tool →
🔐

TLS Cipher Suite Checker — Strength Analyzer

3,286 views

Check TLS protocol version compatibility and cipher suite strength ratings against current best practices. Supports IANA and OpenSSL cipher names — rates each suite as Strong, Weak, or Deprecated and explains why.

Use Tool →
🔍

Secret Scanner — API Key & Credential Detector

3,021 views

Scan pasted text, code, or config files for accidentally exposed API keys, tokens, passwords, and private keys. Detects 50+ secret types across AWS, GitHub, Stripe, OpenAI, and more — all client-side, nothing leaves your browser.

Use Tool →

Related API & Backend Tools

GraphQL Subscription Builder — Generate WebSocket Payloads and Client Queries

Build GraphQL subscription query strings and generate WebSocket connection code snippets for Apollo Client, urql, and graphql-ws. Define your operation name, variables, and selection fields visually, then copy the ready-to-use code.

Use Tool →
📝

REST Endpoint Documenter — Markdown Doc Generator

Document a REST endpoint quickly by entering the URL, method, headers, and sample request/response. Generates formatted Markdown documentation and an example cURL command instantly.

Use Tool →
🔌

API Tester — In-Browser REST Client

Test HTTP API endpoints directly in your browser. Make GET, POST, PUT, PATCH, and DELETE requests with custom headers and request bodies. View status codes, response headers, and pretty-printed JSON responses — all client-side, no server proxy.

Use Tool →
📡

Server-Sent Events (SSE) Formatter — Build and Debug Real-Time Streams

Build Server-Sent Events messages with id, event, data, retry, and comment fields for testing SSE endpoints. Fill in each field individually and instantly see the correctly formatted SSE message string with double-newline terminator. Supports multi-line data fields, keep-alive comment lines, and an escaped wire-format view. Five presets cover the most common SSE patterns. Free and runs entirely in your browser.

Use Tool →
📊

GraphQL Cost Estimator — Analyze Query Complexity and Depth

Assign custom field weights to a GraphQL schema and calculate the total query complexity score. Paste any GraphQL query, configure per-field costs, and get a per-field breakdown table showing depth, multipliers, and cumulative cost.

Use Tool →
⏱️

API Latency Budget Calculator — Plan Distributed System Performance

Set a P99 SLO latency target and distribute the budget across your upstream service dependencies. See remaining headroom, utilization percentage, a stacked allocation bar, and a per-service breakdown with optional P99 actual measurements.

Use Tool →
🔍

API Error Decoder — Fix Suggestion Tool

Decode HTTP status codes and OAuth 2.0 error strings with plain-English descriptions, common causes, and actionable fix suggestions. Covers every HTTP 1xx–5xx status code and all standard OAuth 2.0 error responses. Results appear instantly as you type.

Use Tool →
🗄️

HTTP Cache Header Generator — Optimize Browser & CDN Caching

Generate Cache-Control, Vary, and ETag headers for web and API responses. Select a caching strategy (public, private, no-cache, no-store), set browser and CDN TTLs, and configure advanced directives like stale-while-revalidate. Outputs ready-to-use snippets for nginx, Express.js, and Apache.

Use Tool →

Share Your Feedback

Help us improve this tool by sharing your experience

We will only use this to follow up on your feedback