gofiber/fiber
Documented errors, page 2 of 3. Back to gofiber/fiber
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| helmet: HSTSPreloadEnabled requires HSTSExcludeSubdomains… | panic | error | helmet, hsts, preload, config, security-header, startup-panic |
| proxy: parse upstream | exception | error | proxy, url-parse, config, balancer |
| client cannot be nil | validation | error | client, request, response, panic, configuration |
| : invalid handler # (%T) | panic | critical | routing, handler, type-mismatch, startup |
| binder: suitable content not found to parse body | validation | warning | binding, content-type, fiber, http |
| failed to resolve TCP address | exception | warning | adaptor, network, address-parsing, reverse-proxy, net-http |
| sse: invalid id | validation | warning | sse, validation, wire-format |
ErrRedirectDowngrade proxy: HTTPS to HTTP redirect blocked | error_code | error | proxy, security, tls, redirect, https |
| failed to render | exception | error | rendering, template-engine, views, html |
| limiter: failed to persist state | exception | error | limiter, fixed-window, storage, rate-limiting |
| : to | exception | error | upload, storage, s3, blob, gofiber, network |
| failed to bind to response headers | exception | error | idempotency, binder, http-headers, validation |
| fiber: failed to shared state value | panic | error | shared-state, codec, panic-recovery, bug |
| tls: AutoCertManager cannot be combined with… | validation | error | tls, listen, config, autocert, startup |
| nil handler in route | panic | error | router, config, panic, routing, nil-safety |
| : invalid length: != | validation | warning | idempotency, validation, uuid, http-headers |
| [CSRF] Invalid origin format in configuration: | panic | error | middleware, csrf, config, validation, security, startup |
| unsupported value type: %T | exception | error | bind, type-mismatch, internal, validation |
| cache: failed to restore heap index for key | http | warning | cache, storage, eviction, redis, distributed, write-failure |
| format: at least one handler is required, but none were set | validation | error | format, content-negotiation, response, programmer-error |
| log: context tag name and function are required | validation | error | log, context, config, programmer-error |
| fiber: encrypt cookie middleware requires key | panic | critical | middleware, encryptcookie, security, config, key-management, startup |
| hostauthorization: AllowedHosts or AllowedHostsFunc is… | panic | error | hostauthorization, config, required-field, startup-panic, security |
| csrf: token invalid | http | warning | csrf, security, auth |
| Domain pattern ' ' has label ' ' exceeding RFC 1035 limit… | panic | error | routing, domain, dns, validation, startup |
ErrInvalidPath invalid path | error_code | error | static, path, security, path-traversal |
| : -> | validation | critical | proxy, ssrf, dns-rebinding, ip-block, security |
ErrTagInvalid logger: tag name and function are required | panic | error | logger, tag-registry, config, startup-panic |
| logger: unknown template tag | validation | error | logger, config, template |
| cache: unexpected entry type %T for key | http | error | cache, type-assertion, memory, invariant, go, fiber |
| failed to decode session data | exception | error | session, serialization, gob, decoding, corruption |
| hostauthorization: host | panic | error | hostauthorization, dns, rfc-1035, config, startup-panic |
| timeout or cancel | exception | warning | client, context, timeout, cancellation, http |
| csrf: referer header missing | http | warning | csrf, security, headers, referer |
| : lookup failed | validation | error | proxy, ssrf, dns, network, resolution |
| cache: failed to get key | http | error | cache, storage, network, go, fiber, external-storage |
| logger: RegisterContextTag requires a non-empty name and… | panic | error | logger, tag-registry, config, startup-panic |
| failed to parse | exception | error | rendering, template, go-template, parsing |
| sse: handler panic | panic | error | sse, panic, recovery, handler |
| failed to base64-decode value | validation | error | base64, encryptcookie, cookie, corrupt-input |
| limiter: failed to marshal key | exception | error | limiter, msgpack, codegen, internal |
| failed to reset session | exception | error | session, storage, delete, absolute-timeout |
| sse: write retry | exception | error | sse, network, write, retry, disconnected |
| the URL is incorrect | validation | error | client, url, configuration, http |
| failed to write cached response at fastpath | exception | error | idempotency, storage, fastpath, context-wrap |
| hostauthorization: host | panic | error | hostauthorization, dns, rfc-1035, config, startup-panic |
ErrSessionAlreadyLoadedByMiddleware session already loaded by middleware | error_code | error | session, middleware, api-misuse, context |
| failed to determine abs file path | exception | error | sendfile, filesystem, path-resolution, deployment |
| fiber: failed to encode shared state | exception | error | shared-state, serialization, json, msgpack, cbor, xml, encoding |
| failed to write cached response while locked | exception | error | idempotency, storage, double-checked-locking, context-wrap |
| failed to encode session data | exception | error | session, serialization, gob, encoding |
| failed to open | exception | error | template, filesystem, render, gofiber, configuration |
| sse: write event | exception | error | sse, network, write, disconnected |
| cache: no cached body for key | http | info | cache, cache-miss, control-flow, expected, go, fiber |
| fiber: failed to reload views | exception | error | views, templates, config, filesystem |
| encryption key must be 16, 24, or 32 bytes | validation | error | encryptcookie, crypto, config, cookies |
| failed to read client CA file | exception | critical | tls, mtls, filesystem, startup, listen |
| missing or invalid API Key | http | warning | keyauth, auth, security |
| failed to read response | exception | error | testing, http, test-client, response |
| failed to lock | exception | error | idempotency, distributed-lock, redis, concurrency |
| fiber: service at index | panic | critical | services, config, nil, startup |
| favicon: file size exceeds max bytes | validation | critical | favicon, config, startup-panic, file-size |
| fiber: service is nil | validation | error | services, shutdown, state, nil-guard, defensive |
| %w: %q | validation | error | proxy, ssrf, scheme, security-policy, config |
| cache: failed to store raw key | http | error | cache, storage, network, raw-body, write, go, fiber |
| stat | exception | error | sendfile, filesystem, embed-fs, byte-range, stat |
| service start | exception | error | services, startup, context, deadline, cancellation |
| binder: msgpack is not configured, please check docs… | validation | error | msgpack, binding, configuration, fiber |
| prefork | exception | critical | prefork, network, startup, bind, reuseport |
| set boundary error | exception | error | client, multipart, boundary, validation, upload |
| decode SHA256 password | validation | error | basicauth, authentication, password-hash, base64, config, sha256 |
| fiber: failed to decode shared state | exception | error | shared-state, deserialization, json, msgpack, cbor, xml, decoding |
| failed to close multipart writer | exception | error | client, multipart, body-writer, upload, io |
| binder: map destination is nil and cannot be initialized | validation | error | binding, reflection, map, fiber |
| fiber: keyauth error_description requires error | panic | error | keyauth, oauth, rfc-6750, config, auth, startup-panic |
| client panic | exception | error | client, panic, recovery, goroutine, fasthttp |
| Domain pattern ' ' exceeds RFC 1035 maximum of 253… | panic | error | routing, domain, validation, rfc-1035, startup |
| the body type should be []byte | validation | error | client, request-body, types, http |
| cache: failed to unmarshal key | http | error | cache, serialization, msgp, storage, version-skew, go, fiber |
| csrf: referer does not match host or trusted origins | http | warning | csrf, security, referer, config |
| route handler 'fn' cannot be nil | panic | error | routing, domain, nil-guard, startup |
| binder: invalid destination value | validation | error | binding, reflection, fiber |
| failed to execute | exception | error | rendering, template, go-template, execution, data-binding |
| limiter: failed to unmarshal key | exception | error | limiter, storage, msgpack, serialization, schema |
| failed to check directory | exception | error | client, response, save, filesystem, permissions |
| the file should have a name | validation | error | client, multipart, upload, files, http |
| file: file header is nil | error_code | error | file, upload, multipart, validation |
| failed to unmarshal response | exception | error | idempotency, msgpack, serialization, schema-migration |
| fiber: keyauth scope requires insufficient_scope error | panic | error | keyauth, oauth, scope, rfc-6750, config, auth, startup-panic |
| failed to dump request | exception | error | testing, http, test-client, headers |
| limiter: unexpected entry type %T for key | exception | error | limiter, memory, type-assertion, internal |
| minLen constraint requires an argument | validation | error | routing, constraints, validation, fiber |
| shutdown: server is not running | exception | warning | shutdown, lifecycle, sentinel, precondition |
| fiber: keyauth insufficient_scope requires scope | panic | error | keyauth, oauth, rfc-6750, scope, config, auth, startup-panic |
| service terminate | exception | warning | services, shutdown, context, cancellation, best-effort |
| Domain pattern ' ' has parameters, which exceeds the… | panic | error | routing, domain, validation, limits, startup |
| failed to read | exception | error | template, filesystem, render, gofiber, io |
| logger: tag name and function are required | validation | error | logger, config, template |
| failed to base64-decode key | validation | error | encryptcookie, crypto, config, base64, go, fiber |
| : has no addresses | validation | error | proxy, ssrf, dns, resolution, empty-answer |