🔍

API Error Code Decoder

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.

API ToolsAPI & Backend
Loading tool...

How to Use API Error Code Decoder

How to Use the API Error Code Decoder

Step 1: Type a Code or Error String

Type any HTTP status code (e.g., 404, 429, 503) or OAuth 2.0 error string (e.g., invalid_grant, access_denied) into the search box. Results appear instantly as you type.

Step 2: Use Quick Examples

Click any of the quick-pick buttons below the search box to instantly decode common codes:

  • 400 — Bad Request (malformed payload)
  • 401 — Unauthorized (missing or invalid token)
  • 403 — Forbidden (no permission)
  • 404 — Not Found
  • 429 — Too Many Requests (rate limited)
  • 500 — Internal Server Error
  • 503 — Service Unavailable
  • invalid_grant — OAuth refresh token or auth code problem

Step 3: Read the Decoded Result

For an exact match, you will see:

  • Code and name — the HTTP status code or OAuth error identifier and its official name
  • Category badge — color-coded by type (4xx Client Error, 5xx Server Error, OAuth 2.0, etc.)
  • Description — a plain-English explanation of what the code means
  • Common Causes — the most frequent reasons this error occurs in production
  • How to Fix — concrete, actionable steps to diagnose and resolve the error

If you type a partial code (e.g., 40 or 5), a list of matching codes appears — click any entry to see its full details.

Supported Error Codes

HTTP Status Codes — All major 1xx, 2xx, 3xx, 4xx, and 5xx codes including 100, 101, 200, 201, 204, 206, 301, 302, 304, 307, 308, 400, 401, 403, 404, 405, 408, 409, 410, 413, 415, 422, 429, 500, 501, 502, 503, 504

OAuth 2.0 Errors — All RFC 6749 standard error codes: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, token_expired, invalid_token, insufficient_scope, server_error, temporarily_unavailable

Frequently Asked Questions

Most Viewed Tools

📺

Screen Size Converter

1,685 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 →
🔀

Reorder PDF Pages

610 views

Drag and drop to rearrange PDF pages in any order. Upload your PDF, preview all pages as thumbnails, drag pages to reorder them, and download the rearranged PDF. Fast, visual, and privacy-focused.

Use Tool →
🖨️

DPI Calculator

605 views

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

Use Tool →
📄

Paper Size Converter

572 views

Convert between international paper sizes (A4, Letter, Legal) with dimensions in mm, cm, and inches. Compare ISO A/B series and North American paper standards.

Use Tool →

Fuel Consumption Converter

431 views

Convert between MPG (miles per gallon), L/100km (liters per 100 kilometers), and other fuel efficiency units. Compare car fuel economy across different measurement systems.

Use Tool →
✂️

CSV Splitter

373 views

Split large CSV files into smaller files by number of rows. Process large datasets in manageable chunks instantly.

Use Tool →
🛍️

Product Schema Generator

340 views

Generate JSON-LD Product schema markup for SEO. Add product details like name, price, brand, rating, and availability to create structured data for rich search results.

Use Tool →
📏

Child Height Predictor

332 views

Predict child adult height based on parent heights using the Mid-Parental Height method. Calculate how tall your child will be with genetic predictions.

Use Tool →

Related API & Backend Tools

✍️

JWT Encoder & Signer

Construct and sign JWT tokens locally in your browser. Edit header and payload JSON, choose HS256/HS384/HS512, enter a secret, and generate a signed token instantly. Nothing is uploaded.

Use Tool →
🔌

API Tester

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 →
🔐

OAuth Token Validator

Validate and inspect OAuth tokens in your browser. Decode JWT access tokens and ID tokens to view claims, scopes, and expiry. Analyse opaque tokens for entropy and format. Free and private.

Use Tool →

GraphQL Query Formatter

Format and prettify GraphQL queries, mutations, subscriptions, and fragments with correct indentation.

Use Tool →
🔑

JWT Token Validator

Decode and validate JWT tokens instantly in your browser. Inspect header and payload claims, check expiry, and verify HMAC signatures (HS256/HS384/HS512). Free and private.

Use Tool →

OpenAPI Spec Validator

Validate OpenAPI 2.0 (Swagger) and OpenAPI 3.0/3.1 specification files for compliance, missing required fields, unresolved $ref paths, and schema errors. Paste JSON or YAML or upload a file — errors and warnings are listed by path with severity levels and actionable fix suggestions. All validation runs entirely in your browser.

Use Tool →

Webhook Payload Generator

Generate realistic sample webhook payloads for Stripe, GitHub, Slack, and custom event schemas. Select a provider and event type to instantly produce a correctly structured JSON payload you can copy or download to seed webhook handlers, write tests, and build integrations.

Use Tool →
🔀

CORS Header Generator

Build CORS configuration headers interactively for web servers and APIs. Set allowed origins, methods, request headers, credentials, and preflight cache duration — then copy the generated Access-Control headers or ready-to-paste code snippets for nginx, Express.js, Flask, and .NET.

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