http Errors
5 error patterns
http3 fixes
404 Not Found — Debugging
404 Not Found|Cannot (GET|POST|PUT|DELETE)|Route not found
- •Verify the URL path, method, and trailing slash — `/api/users` vs `/api/users/` may route differently
- •Check that the route is registered — look for typos in route decorator or router config
http3 fixes
500 Internal Server Error
500 Internal Server Error|InternalServerError|server error
- •Check server logs for the full stack trace — the 500 response usually hides the real error
- •Common causes: unhandled null reference, database connection failure, or missing environment variable
http3 fixes
403 Forbidden
403 Forbidden|forbidden|insufficient permissions
- •Check authentication token is valid and not expired — inspect the JWT payload at jwt.io
- •Verify the user/role has the required permission for this endpoint in your authorization logic
http3 fixes
CORS Preflight Failure
CORS|cross-origin|Access-Control-Allow-Origin|preflight|OPTIONS
- •Add CORS headers on the server: `Access-Control-Allow-Origin`, `Access-Control-Allow-Methods`, `Access-Control-Allow-Headers`
- •Ensure the server responds to OPTIONS preflight requests with 200/204 and the correct CORS headers
http3 fixes
429 Too Many Requests (Rate Limited)
429 Too Many Requests|rate limit|throttl|RateLimitExceeded
- •Implement exponential backoff with jitter — wait 2^attempt * random(0.5, 1.5) seconds before retrying
- •Check the `Retry-After` response header for how long to wait before the next request