ErrLookup › gofiber/fiber
gofiber/fiber
⚡️ Express inspired web framework written in Go · Go · 172 source files
Analyzed at 9a4c7e57fe on 2026-08-04. 257 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| binder: suitable content not found to parse body | exception | error | |
| binder: map destination is nil and cannot be initialized | exception | error | |
| binder: invalid destination value | exception | error | |
| unmatched brackets | validation | error | |
| binder: must explicitly set up CBOR, please check docs: http | exception | error | |
| binder: msgpack is not configured, please check docs: https: | exception | error | |
| failed to append certificate | exception | error | |
| timeout or cancel | exception | error | |
| protocol not supported; only http or https are allowed | validation | error | |
| the file should have a name | validation | error | |
| the body type should be []byte | validation | error | |
| only file paths and io.Writer are supported | validation | error | |
| the body type is not supported | validation | error | |
| client: HTTPS to HTTP redirect blocked | http | error | |
| client cannot be nil | exception | error | |
| datetime constraint requires a layout argument | validation | error | |
| minLen constraint requires an argument | validation | error | |
| maxLen constraint requires an argument | validation | error | |
| len constraint requires an argument | validation | error | |
| betweenLen constraint requires two arguments | validation | error | |
| min constraint requires an argument | validation | error | routing, constraint, config, fiber |
| max constraint requires an argument | validation | error | routing, constraint, config, fiber |
| range constraint requires two arguments | validation | error | routing, constraint, config, fiber |
| regex constraint requires a pattern argument | validation | error | routing, constraint, regex, config, fiber |
| shutdown: graceful timeout has been reached, exiting | exception | warning | shutdown, server, lifecycle, fiber |
| shutdown: server is not running | exception | error | shutdown, server, lifecycle, fiber |
| runtime.Goexit() called in handler or server panic | exception | error | testing, handler, panic, lifecycle, fiber |
| fiber: no view engine configured | exception | error | views, config, templates, fiber |
| tls: AutoCertManager cannot be combined with CertFile/CertKe | exception | error | tls, config, security, https, fiber |
| range: unsatisfiable range | http | warning | http, range, download, client-error, fiber |
| binder: custom binder not found, please be sure to enter the | exception | error | binding, config, fiber |
| format: at least one handler is required, but none were set | exception | error | response, content-negotiation, fiber |
| file: file header is nil | exception | error | upload, multipart, files, fiber |
| file: failed to read file | exception | error | upload, multipart, files, body-limit, fiber |
| file: failed to store file | exception | error | upload, storage, files, fiber |
| value not found | validation | warning | extractors, auth, middleware, fiber |
| cyclic extractor chain | exception | error | extractors, chain, recursion, fiber |
| logtemplate: unknown tag | exception | error | logging, template, config, fiber |
| log: context tag name and function are required | validation | error | logging, context, config, validation, fiber |
| log: context tag is reserved | validation | error | logging, context, config, reserved, fiber |
| remote address cannot be empty | validation | error | adaptor, network, configuration, net-http |
| decode SHA256 password: invalid length | validation | critical | basicauth, authentication, configuration, crypto, startup |
| cache: insufficient space and no entries to evict | exception | error | cache, configuration, memory, middleware |
| csrf: token not found | validation | error | csrf, security, authentication, middleware, web |
| csrf: sec-fetch-site header invalid | validation | warning | csrf, security, headers, browser |
| csrf: referer header missing | validation | warning | csrf, security, headers, https |
| csrf: referer header invalid | validation | warning | csrf, security, headers, url-parsing |
| csrf: referer does not match host or trusted origins | validation | warning | csrf, security, headers, cors, configuration |
| csrf: origin header invalid | validation | warning | csrf, security, headers, url-parsing |
| csrf: origin does not match host or trusted origins | validation | warning | csrf, security, cors, configuration, origin |
| encryption key must be 16, 24, or 32 bytes | validation | critical | encryptcookie, crypto, configuration, aes, cookies |
| hostauthorization: forbidden host | http | warning | hostauthorization, security, configuration, headers |
| invalid idempotency key | validation | error | idempotency, configuration, headers, api |
| missing or invalid API Key | validation | error | keyauth, authentication, security, api, headers |
| logger: unknown template tag | exception | error | logger, configuration, formatting, startup |
| logger: tag name and function are required | validation | error | logger, configuration, validation, tags |
| paginate: failed to encode cursor values | exception | error | paginate, serialization, cursor, json |
| proxy: nil client override passed to Do/Forward | http | error | proxy, configuration, nil-check, client |
| proxy: upstream scheme is not allowed | http | critical | proxy, security, ssrf, configuration, scheme |
| proxy: upstream host is empty or invalid | http | critical | proxy, configuration, ssrf, validation, url |
| proxy: upstream host resolves to a blocked address | exception | error | proxy, ssrf, security, dns, network |
| proxy: HTTPS to HTTP redirect blocked | exception | warning | proxy, redirect, security, tls, https |
| failed to type-assert to *Middleware | exception | critical | session, panic, internal, type-assertion |
| session ID cannot be empty | validation | error | session, validation, storage |
| session ID not found in session store | exception | warning | session, storage, not-found, expiry |
| field must not contain CR or LF | validation | warning | sse, validation, injection, security, response-splitting |
| sse: stream closed | exception | info | sse, stream, lifecycle, disconnect |
| invalid path | validation | warning | static, path-traversal, security, validation |
| fiber: shared storage is not configured | exception | error | shared-state, storage, config |
| fiber: failed to reload views: %w | exception | error | views, template, reload, filesystem |
| failed to dump request: %w | exception | error | testing, http, request, test-helper |
| failed to write: %w | exception | error | testing, http, connection, test-helper |
| failed to read response: %w | exception | error | testing, http, response, test-helper |
| failed to discard interim response body: %w | exception | error | testing, http, interim-response, test-helper |
| failed to close interim response body: %w | exception | error | testing, http, interim-response, test-helper |
| multiple binding_source tags found on struct %s | exception | error | binding, struct-tag, validation, reflection |
| unknown binding_source %q | exception | error | binding, struct-tag, validation, reflection |
| unsupported value type: %T | exception | error | binding, binder, internal, type-mismatch, reflection |
| failed to unmarshal xml: %w | exception | error | binder, xml, unmarshal, body-parser |
| client: invalid proxy URL: %w | exception | error | client, proxy, config, network |
| client panic: %v | exception | critical | client, panic, recovery, concurrency |
| rand.Read failed: %w | exception | critical | client, crypto-rand, multipart, environment |
| boundary generation: %w | exception | critical | client, multipart, boundary, crypto-rand |
| set boundary error: %w | exception | error | client, multipart, boundary, validation |
| failed to close multipart writer: %w | exception | error | client, multipart, body-writer, upload |
| write formdata error: %w | exception | error | client, multipart, formdata, upload |
| open file error: %w | exception | error | client, upload, filesystem, permissions |
| create file error: %w | exception | error | client, multipart, upload, header |
| failed to copy file data: %w | exception | error | client, upload, io-copy, filesystem |
| failed to check directory: %w | exception | error | client, save, filesystem, permissions |
| failed to create directory: %w | exception | error | client, save, filesystem, mkdir, permissions |
| failed to create file: %w | exception | error | client, save, filesystem, os-create, permissions |
| failed to write response body to file: %w | exception | error | client, save, io-copy, disk-full, response |
| failed to write response body to writer: %w | exception | error | client, save, io-writer, streaming, response |
| parse constraint arg: %w | exception | error | routing, constraint, minlen, registration |
| file: failed to open file: %q: %w | exception | error | upload, multipart, storage, filesystem, go |
| file: failed to read file: %q: %w | exception | error | upload, multipart, body-limit, storage, go |
| file: failed to store file: %q to %q: %w | exception | error | upload, storage, backend, network, go |
| failed to open: %w | exception | error | filesystem, template, render, go |
| failed to read: %w | exception | error | filesystem, template, io, render, go |
| failed to convert: %w | exception | warning | parsing, conversion, validation, go |
| memory storage %s: %w | exception | warning | storage, context, cancellation, go |
| tls: cannot load TLS key pair from certFile=%q and keyFile=% | exception | critical | tls, ssl, certificate, startup, security, go |
| failed to listen: %w | exception | critical | network, listen, port, startup, go |
| failed to read client CA file %q: %w | exception | critical | mtls, tls, certificate, startup, security, go |
| failed to parse client CA certificate from %q | exception | critical | tls, mtls, certificates, pem, startup, config |
| unexpected error when trying to remove unix socket file %q: | exception | error | unix-socket, filesystem, permissions, startup, network |
| cannot chmod %#o for %q: %w | exception | error | unix-socket, filesystem, permissions, startup, hardening |
| failed to resolve TCP address after adding port: %w | exception | warning | adaptor, http, network, remote-addr, proxy |
| failed to resolve TCP address: %w | exception | warning | adaptor, http, network, remote-addr, ipv6 |
| decode SHA512 password: %w | panic | error | basicauth, authentication, passwords, sha512, base64, config |
| decode SHA256 password: %w | panic | error | basicauth, authentication, passwords, sha256, base64, config |
| cache: failed to reload key %q after eviction failure: %w | http | error | cache, storage, eviction, redis, bookkeeping |
| cache: failed to restore heap index for key %q: %w | http | error | cache, storage, eviction, write-failure, bookkeeping |
| cache: failed to delete expired key %q: %w | http | warning | cache, storage, expiration, delete, redis |
| cache: failed to delete private response for key %q: %w | http | warning | cache, storage, private, delete, cache-control |
| cache: failed to delete cached response for key %q: %w | http | warning | cache, storage, private, no-cache, delete, cache-control |
| cache: failed to delete stale vary manifest %q: %w | http | warning | cache, storage, vary, manifest, delete |
| cache: failed to delete key %q while evicting: %w | http | error | cache, storage, eviction, delete, errors-join, bookkeeping |
| cache: failed to delete raw key %q after store error: %w | http | error | cache, storage, cleanup, raw-key, errors-join, write-failure |
| cache: failed to get key %q from storage: %w | http | error | cache, storage, network, redis, fiber |
| cache: failed to unmarshal key %q: %w | http | error | cache, serialization, msgpack, version-drift, fiber |
| cache: unexpected entry type %T for key %q | http | warning | cache, memory, type-safety, fiber |
| cache: failed to get raw key %q from storage: %w | http | error | cache, storage, network, redis, fiber |
| cache: unexpected raw entry type %T for key %q | http | warning | cache, memory, type-safety, fiber |
| cache: failed to marshal key %q: %w | http | error | cache, serialization, msgpack, fiber |
| cache: failed to store key %q: %w | http | error | cache, storage, network, redis, fiber |
| cache: failed to store raw key %q: %w | http | error | cache, storage, network, redis, fiber |
| cache: failed to delete key %q: %w | http | warning | cache, storage, network, fiber |
| cache: no cached body for key %q: %w | http | info | cache, miss, fiber |
| csrf: failed to fetch token from storage: %w | http | error | csrf, storage, network, security, fiber |
| csrf: failed to store token in storage: %w | http | error | csrf, storage, network, security, fiber |
| csrf: failed to delete token from storage: %w | http | warning | csrf, storage, network, security, fiber |
| csrf: failed to get value from storage: %w | http | error | csrf, storage, network, security, fiber |
| csrf: unexpected value type %T in storage | http | warning | csrf, memory, type-safety, fiber |
| csrf: failed to store key %q: %w | http | error | csrf, storage, network, security, fiber |
| csrf: failed to delete key %q: %w | http | warning | csrf, storage, network, security, fiber |
| failed to base64-decode key: %w | http | critical | encryptcookie, config, base64, crypto, fiber |
| failed to create AES cipher: %w | http | critical | encryptcookie, crypto, aes, fiber |
| failed to create GCM mode: %w | http | critical | encryptcookie, crypto, aes, gcm, fiber |
| failed to base64-decode value: %w | http | warning | crypto, cookie, base64, encryptcookie |
| failed to decrypt ciphertext: %w | http | warning | crypto, gcm, cookie, encryptcookie, authentication |
| favicon: read limited: %w | panic | critical | favicon, filesystem, startup, panic |
| favicon: file size exceeds max bytes %d | panic | critical | favicon, config, startup, panic, filesize |
ErrInvalidIdempotencyKey %w: invalid length: %d != %d | validation | warning | idempotency, validation, uuid, header |
| failed to read response: %w | http | error | idempotency, storage, network, redis |
| failed to unmarshal response: %w | http | error | idempotency, msgpack, serialization, storage |
| failed to write cached response at fastpath: %w | http | error | idempotency, storage, fastpath, wrapper |
| failed to lock: %w | http | error | idempotency, lock, distributed, redis |
| failed to write cached response while locked: %w | http | error | idempotency, storage, lock, wrapper |
| failed to bind to response headers: %w | http | error | idempotency, binding, fiber, unreachable |
| failed to marshal response: %w | http | error | idempotency, msgpack, codegen, unreachable |
| failed to save response: %w | http | error | idempotency, storage, write, redis |
| limiter: failed to persist state: %w | http | error | limiter, fixed-window, storage, write |
| limiter: failed to persist state: %w | http | error | limiter, sliding-window, storage, write |
| limiter: failed to get key %q from storage: %w | http | error | limiter, storage, read, redis, manager |
| limiter: failed to unmarshal key %q: %w | http | error | limiter, storage, msgp, serialization, deserialization, version-mismatch |
| limiter: unexpected entry type %T for key %q | http | error | limiter, memory, type-assertion, invariant |
| limiter: failed to marshal key %q: %w | http | error | limiter, storage, msgp, serialization, codegen |
| limiter: failed to store key %q: %w | http | error | limiter, storage, redis, persistence, network |
ErrCursorEncode %w: %w | http | error | paginate, cursor, json, serialization |
| proxy: parse upstream %q: %w | http | error | proxy, url-parsing, configuration, input-validation |
ErrUpstreamSchemeNotAllowed %w: %q | http | error | proxy, ssrf, scheme, security, allowlist |
ErrUpstreamHostBlocked %w: %s | http | error | proxy, balancer, ssrf, private-ip, security, configuration |
| proxy: invalid dial address %q: %w | http | error | proxy, dialer, ssrf, address-parsing |
| %v | exception | error | recover, panic, middleware, error-handling |
| failed to encode data: %w | http | error | session, gob, serialization, encoding, configuration |
| failed to decode session data: %w | http | error | session, gob, serialization, fiber |
| failed to encode session data: %w | http | error | session, gob, serialization, fiber |
| failed to decode session data: %w | http | error | session, gob, serialization, store, fiber |
| failed to reset session: %w | http | error | session, storage, timeout, fiber |
| sse: invalid id: %w | exception | warning | sse, validation, fiber |
| sse: invalid event: %w | exception | warning | sse, validation, fiber |
| sse: write event: %w | exception | info | sse, network, disconnect, fiber |
| sse: write heartbeat: %w | exception | info | sse, network, heartbeat, fiber |
| sse: write comment: %w | exception | info | sse, network, fiber |
| sse: finish comment: %w | exception | info | sse, network, fiber |
| sse: marshal data: %w | exception | error | sse, json, serialization, fiber |
| sse: handler panic: %v | exception | error | sse, panic, recovery, fiber |
| sse: write retry: %w | exception | info | sse, network, fiber |
| prefork: %w | exception | critical | prefork, network, startup, reuseport, fiber |
| format handler is nil for media type %q at index %d | exception | error | content-negotiation, validation, fiber |
| failed to render: %w | exception | error | template, render, fiber |
| failed to parse: %w | exception | error | template, parse, fiber |
| failed to execute: %w | exception | error | template, execute, fiber |
| failed to determine abs file path: %w | exception | error | filesystem, sendfile, fiber |
| failed to write string: %w | exception | error | routing, buffer, url-building, io |
| fiber: service at index %d is nil | exception | critical | services, config, startup, nil-check |
| context canceled while starting service %s: %w | exception | error | services, context, startup, cancellation, deadline |
| service %s start: %w | exception | error | services, context, startup, deadline, cancellation |
| fiber: service %q is nil | exception | critical | services, shutdown, state, nil-check, invariant |
| service %s terminate: %w | exception | warning | services, shutdown, context, cancellation, deadline |
| fiber: failed to encode shared state %s value: %w | exception | error | shared-state, serialization, encode, json, xml, msgpack, cbor |
| fiber: failed to decode shared state %s value: %w | exception | error | shared-state, deserialization, decode, json, xml, msgpack, cbor, schema |
| fiber: shared state %s %s is not configured | exception | error | shared-state, config, codecs, msgpack, cbor, misconfiguration |
| fiber: failed to %s shared state %s value: %w | exception | error | shared-state, codecs, panic, recover, binder |
| fiber: failed to %s shared state %s value: %v | exception | error | shared-state, codecs, panic, recover, custom-codec |
| %s: invalid handler #%d (%T)\n | panic | critical | routing, handlers, adapter, panic, type-mismatch |
| use: invalid handler %v\n | panic | critical | middleware, use, handlers, panic, type-mismatch |
| route handler 'fn' cannot be nil | panic | critical | routing, route-group, nil-check, panic, config |
| fasthttp.Client must not be nil | panic | critical | client, fasthttp, nil-check, panic, http-client |
| fasthttp.HostClient must not be nil | panic | error | client, nil-check, constructor, fasthttp |
| fasthttp.LBClient must not be nil | panic | error | client, nil-check, constructor, load-balancing, fasthttp |
| fiber: Config.RegexHandler return type must support MatchStr | panic | error | routing, config, regex, constraint, panic |
| fiber: Config.RegexHandler must not return nil | panic | error | routing, config, regex, constraint, nil-check, panic |
| fiber: Config.RegexHandler must be a non-nil function | panic | error | routing, config, regex, constraint, panic, reflection |
| fiber: Config.RegexHandler must have signature func(string) | panic | error | routing, config, regex, constraint, signature, panic |
| Domain pattern cannot be empty | panic | error | routing, domain, validation, panic, host-routing |
| Domain pattern '%s' exceeds RFC 1035 maximum of 253 characte | panic | error | routing, domain, validation, rfc-1035, panic |
| Domain pattern '%s' has %d parts, which exceeds the maximum | panic | error | routing, domain, validation, dos-protection, panic |
| Domain pattern '%s' contains empty label at position %d | panic | error | routing, domain, validation, rfc-1035, panic |
| Domain pattern '%s' contains empty parameter name at positio | panic | error | routing, domain, validation, parameter, panic |
| Domain pattern '%s' contains invalid parameter name '%s' wit | panic | error | routing, domain, validation, parameter, ascii, panic |
| Domain pattern '%s' has label '%s' exceeding RFC 1035 limit | panic | error | routing, domain, validation, rfc-1035, panic |
| Domain pattern '%s' contains invalid character '%c' in label | panic | error | routing, domain, validation, rfc-1035, ascii, panic |
| Domain pattern '%s' has %d parameters, which exceeds the max | panic | error | routing, domain, validation, parameter, limits, panic |
| use: invalid handler %v | panic | error | routing, domain, middleware, handler, panic |
| Request Entity Too Large | http | warning | adaptor, net-http, body-limit, http-413, middleware |
| Internal Server Error | http | error | adaptor, net-http, body-stream, http-500, io-error, middleware |
| basicauth: charset must be UTF-8 | panic | critical | basicauth, authentication, config, charset, rfc-7617, panic |
| [CORS] Invalid origin format in configuration: ${maskedOrigi | panic | critical | cors, security, config, origin, wildcard, panic |
| [CORS] Invalid origin format after normalization:${maskedOri | panic | critical | cors, security, origin, internal, panic, defensive |
| [CORS] Configuration error: When 'AllowCredentials' is set t | panic | critical | cors, security, credentials, wildcard, spec-compliance, panic |
| CSRF: Extractor reads from the same cookie '${CookieName}' u | panic | critical | csrf, security, cookie, extractor, misconfiguration, panic |
| CSRF: Chained extractor reads from the same cookie '${Cookie | panic | critical | csrf, security, extractor, chain, cookie, panic |
| [CSRF] Invalid origin format in configuration:${maskedOrigin | panic | critical | csrf, security, origin, trusted-origins, wildcard, panic |
| fiber: encrypt cookie middleware requires key | panic | critical | encryptcookie, security, config, key, cookies, panic |
| helmet: HSTSMaxAge must be greater than or equal to 0 | panic | critical | helmet, hsts, security, config, headers, panic |
| helmet: HSTSPreloadEnabled requires HSTSExcludeSubdomains to | panic | critical | helmet, hsts, preload, security, config, panic |
| hostauthorization: AllowedHosts or AllowedHostsFunc is requi | panic | critical | hostauthorization, security, config, allowed-hosts, panic |
| hostauthorization: invalid host ${host} — subdomain wildcard | panic | critical | hostauthorization, security, wildcard, config, dns, panic |
| hostauthorization: host %q exceeds RFC 1035 maximum of %d ch | panic | critical | hostauthorization, security, rfc-1035, dns, config, panic |
| hostauthorization: host %q has label %q exceeding RFC 1035 l | panic | critical | hostauthorization, security, rfc-1035, dns, label-length, panic |
| fiber: keyauth middleware requires a validator function | panic | critical | keyauth, authentication, config, validator, panic |
| fiber: keyauth unsupported error token | panic | error | keyauth, config, auth, rfc6750, panic |
| fiber: keyauth error_description requires error | panic | error | keyauth, config, auth, rfc6750, panic |
| fiber: keyauth error_uri requires error | panic | error | keyauth, config, auth, rfc6750, panic |
| fiber: keyauth error_uri must be absolute | panic | error | keyauth, config, auth, rfc6750, url, panic |
| fiber: keyauth insufficient_scope requires scope | panic | error | keyauth, config, auth, rfc6750, scope, panic |
| fiber: keyauth scope contains invalid token | panic | error | keyauth, config, auth, rfc6750, scope, validation, panic |
| fiber: keyauth scope requires insufficient_scope error | panic | error | keyauth, config, auth, rfc6750, scope, panic |
| logger: RegisterContextTag requires a non-empty name and ext | panic | error | logger, config, registration, panic |
| Servers cannot be empty | panic | error | proxy, config, panic |
| proxy: WithClient requires a non-nil *fasthttp.Client | panic | error | proxy, config, ssrf, nil-check, panic |
| Servers cannot be empty | panic | error | proxy, config, load-balancer, panic |
| [session] AbsoluteTimeout must be greater than or equal to I | panic | error | session, config, timeout, panic |
| sse: Handler must not be nil | panic | error | sse, config, handler, panic |
| route handler 'fn' cannot be nil | panic | error | routing, domain, handler, panic |
| use: invalid handler %v | panic | error | routing, group, middleware, type-error, panic |
| route handler 'fn' cannot be nil | panic | error | routing, group, handler, panic |
| unsupported TLS version, please use tls.VersionTLS12 or tls. | panic | error | tls, listen, security, config, panic |
| Route '%s' has %d parameters, which exceeds the maximum of % | panic | error | routing, path, parameters, limit, panic |
| missing handler/middleware in route: %s | panic | error | routing, handler, registration, panic |
| nil handler in route: %s | panic | error | routing, handler, nil-check, panic |
| add: invalid http method %s | panic | critical | router, http-method, startup, panic, registration |
| state: dependency not found! | panic | critical | state, dependency-injection, panic, key-not-found |
| state: service not found! | panic | critical | services, state, dependency-injection, panic, lifecycle |