gofr-dev/gofr
Documented errors, page 2 of 2. Back to gofr-dev/gofr
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| unsupported interface value type | validation | error | multipart, binding, reflection |
| query cannot be empty | validation | error | jwt, rbac, claims |
| not connected to database | exception | error | surrealdb, connection, lifecycle |
| for | exception | error | ftp, network, reader |
| Unable to generate token | http | error | testing, oauth, mock-server, internal-error |
| unexpected error stating migration file | exception | error | opentsdb, migration, filesystem, permissions |
| failed to open existing migration file | exception | error | opentsdb, migration, filesystem, permissions |
| failed to read random bytes | exception | error | crypto, entropy, testing, environment |
| client not connected, call Connect() first | exception | error | dynamodb, kv-store, lifecycle, initialization, gofr |
| invalid rate limiter config | panic | critical | rate-limiting, panic, configuration, middleware |
| , got | validation | error | http-client, configuration, connection-pool, validation |
| api keys list is empty | validation | error | auth, api-key, config, gofr |
| response body is empty | validation | error | oauth, network, jwks, http |
| unexpected result type from circuit breaker | exception | error | circuit-breaker, http-client, type-assertion, resilience |
| failed to create migration file: received nil file handle | exception | error | opentsdb, migration, filesystem |
| File is closed | exception | error | file-io, lifecycle, gofr, datasource |
| : S3 file is empty | exception | error | s3, nil-response, read, gofr |
| : executing search | exception | critical | elasticsearch, network, timeout, search |
| document ID cannot be empty | validation | error | jwt, rbac, parsing |
| too large | exception | warning | file-io, limits, gofr |
| failed to parse YAML config file | validation | error | go, yaml, config, rbac, parse-error |
| bucket id must not be empty | validation | error | influxdb, validation, empty-identifier, gofr |
| : query | exception | error | elasticsearch, json-marshal, search |
| writer already closed | error_code | error | ftp, io, lifecycle |
| invalid FTP configuration: host and port are required | error_code | error | ftp, configuration, validation |
| no record found | exception | error | surrealdb, crud, not-found |
| elasticsearch health check failed | exception | error | jwt, rbac, index-out-of-range |
| : new filename must match the old file's type | validation | error | rename, file-type, s3, gofr |
| : negative offset | validation | error | s3, validation, out-of-range, gofr |
| failed to create migration directory | exception | error | opentsdb, migration, filesystem, permissions |
| failed to dial FTP server | exception | error | ftp, network, connection, timeout |
| failed to release migration lock | exception | error | migration, distributed-lock, redis |
| FTP config is nil | error_code | error | go, ftp, nil-config, initialization |
| IdleConnTimeout cannot be negative | validation | error | http-client, configuration, connection-pool, validation |
| mongo | exception | error | mongodb, migration, error-wrapping |
| invalid key file | validation | critical | tls, private-key, startup, configuration |
| failed to read CA certificate from | exception | error | tls, mysql, filesystem, configuration |
| object not found | error_code | error | ftp, not-found, object-storage |
| failed to get key | exception | error | nats, jetstream, kv-store, connectivity |
| failed to process unified config | validation | error | go, rbac, config, processing |
| no result found in query response | exception | warning | surrealdb, query, empty-result |
| : deleting index | exception | critical | elasticsearch, network, connection, delete-index |
| both username and password must be provided | validation | error | surrealdb, authentication, configuration |
| MaxIdleConnsPerHost cannot be negative | validation | error | http-client, configuration, connection-pool, validation |
| failed to create directory | error_code | error | azure, storage, directory, mkdir |
| FTP login failed for user | exception | error | ftp, authentication, credentials |
| invalid RBAC config | validation | error | go, rbac, config, validation |
| operations cannot be empty | validation | error | jwt, rbac, type-mismatch |
| failed to set key-value pair | exception | error | nats, jetstream, kv-store, write-failure |
| failed to load client certificate | exception | error | tls, mtls, mysql, certificates |
| create or update stream error | exception | error | nats, jetstream, stream, gofr |
| failed to parse JSON config file | validation | error | go, json, config, rbac, parse-error |
| object name is empty | error_code | error | go, ftp, validation, arguments |
| endpoint[ ] | validation | error | go, rbac, config, validation, permissions |
| get stream error | exception | error | nats, jetstream, stream, gofr |
| invalid FTP provider | error_code | error | go, ftp, provider, validation |
| %w: %q | exception | error | ftp, file-not-found, copy |
| (got: ) | exception | error | validation, ftp, range-request |
| influxdb health check failed | exception | critical | influxdb, health-check, availability, gofr |
| failed to list objects | error_code | error | ftp, listing, network |
| data length exceeds array capacity | validation | error | multipart, binding, array |
| failed to delete object | error_code | error | ftp, delete, permissions |
| stream value could not be encoded | error_code | error | streaming, serialization |
| invalid URL | validation | error | oauth, url, configuration |
| burst must be positive | validation | error | rate-limiting, configuration, middleware |
| stream source is nil | validation | error | streaming, nil-check |
| unsupported config file format | validation | error | go, config, rbac, file-format, unsupported |
| requestsPerSecond must be positive | validation | error | rate-limiting, configuration, middleware |
| invalid offset: must be >= 0 | validation | error | go, ftp, range-read, validation |
| source and destination names cannot be empty | validation | error | go, ftp, copy, validation |
| endpoint[ ]: invalid mux pattern | validation | error | go, rbac, mux, routing, validation |
| endpoint[ ]: : . Example: /api/users/ instead of… | validation | error | go, rbac, routing, regex, validation |
errFileNotOpenForReading file not open for reading | error_code | error | file, read, open-mode, gofr |
| failed to unmarshal JSON | exception | error | json, deserialization, dynamodb, kv-store |
| endpoint[ ]: : . Example: /api/users/ | validation | error | go, rbac, routing, regex, validation |
| bucket name must not be empty | validation | error | influxdb, validation, empty-identifier, gofr |
| endpoint[ ]: : . Examples: /api/ for single-level or /api/… | validation | error | go, rbac, routing, wildcard, validation |
| source and destination are the same | validation | error | go, ftp, copy, validation |
| failed to marshal value to JSON | exception | error | json, serialization, dynamodb, kv-store |