Eden API Error Codes

Overview

When you interact with Eden's API, errors are returned with standardized error codes to help you quickly identify and resolve issues.

Error Format:

[{error_code}] {category} error: {message}

Example:

[E0A06] Database error: User not found. Please verify the user ID is correct

Custom Error Codes

In addition to the standardized error codes, you may occasionally receive errors ending in FF (e.g., E01FF, E0AFF). These are custom error codes that provide context-specific error messages for situations that don't fit into the standard error categories.

Example Custom Error:

[E0AFF] Database error: {error details here}

Error Categories

CategoryCode RangeDescription
APIE01__General API errors
InitE02__Initialization errors
TransactionE03__Transaction errors
RequestE04__Request validation errors
ConnectE05__Connection errors
SerdeE06__Serialization/deserialization errors
CacheE07__Cache-related errors
AuthE08__Authentication errors
RbacE09__Role-based access control errors
DatabaseE0A__Database errors
MetadataE0B__Metadata errors
ParseE0C__Parsing errors
LockE0D__Lock/concurrency errors
MigrationE0E__Migration errors
FsE0F__File system errors
DataE10__Data validation errors
TimeoutE11__Timeout errors
McpE12__MCP protocol errors
TemplateE13__Template errors
WorkflowE14__Workflow errors

Complete Error Code Reference

E01\_\_ - API Errors

CodeErrorHTTP StatusDescription
E0101InvalidRequest400Invalid request format or parameters
E0102RateLimitExceeded429Rate limit exceeded. Please slow down your requests
E0103ServiceUnavailable503Service temporarily unavailable. Please try again later
E0104InvalidInput400Invalid input provided. Please check your data
E0105InternalError500Internal API error occurred

E02\_\_ - Initialization Errors

CodeErrorHTTP StatusDescription
E0201ConfigurationMissing500Required configuration is missing. Please check your settings
E0202DatabaseInitFailed500Database initialization failed. Please check database connection
E0203ServiceStartupFailed500Service failed to start properly. Please check logs
E0204DependencyMissing500Required dependency is missing or unavailable
E0205PermissionDenied500Permission denied during initialization

E03\_\_ - Transaction Errors

CodeErrorHTTP StatusDescription
E0301BeginFailed500Failed to begin database transaction
E0302CommitFailed500Failed to commit database transaction
E0303RollbackFailed500Failed to rollback database transaction
E0304DeadlockDetected500Database deadlock detected. Transaction was aborted
E0305TimeoutExceeded500Transaction timeout exceeded
E0306ChannelFailure500Channel failure
E0307Rollback500Rollback
E0308FailedToDowncast500Failed to downcast transaction
E0309NotImplemented500Not implemented
E030ATransactionsNotImplemented500Transactions are not implemented
E030BPrepareCannotRunInTransaction500Prepare cannot run in a transaction
E030CFailedToCollectApprovals500Failed to collect valid approvals
E030DNothingReceived500Nothing received

E04\_\_ - Request Errors

CodeErrorHTTP StatusDescription
E0401InvalidFormat400Request format is invalid. Please check your request structure
E0402MissingParameters400Required parameters are missing from the request
E0403InvalidParameters400One or more parameters are invalid
E0404PayloadTooLarge400Request payload is too large. Please reduce the size
E0405UnsupportedMethod400HTTP method is not supported for this endpoint
E0406FailedToUnwrapResponse400Failed to unwrap response
E0407FailedToEncodeRequest400Failed to encode request
E0408ErrorOutputNotImplemented400Error output not yet implemented

E05\_\_ - Connection Errors

CodeErrorHTTP StatusDescription
E0501ConnectionRefused500Connection was refused by the target host
E0502NetworkUnreachable500Network is unreachable. Please check your connectivity
E0503TimeoutReached500Connection timeout reached
E0504SslHandshakeFailed500SSL/TLS handshake failed. Please check certificates
E0505ProtocolMismatch500Protocol version mismatch detected
E0506ConnectionNotFound500Could not find connection
E0507FailedToDowncastConfig500Failed to downcast config
E0508FailedToDowncastRouter500Failed to downcast router
E0509FailedToDowncastRequest500Failed to downcast request
E050ACouldNotGetConnection500Could not get connection
E050BCouldNotGetEndpoint500Could not get endpoint
E050CSyncConnectionNotExist500Sync connection does not exist
E050DIncorrectPoolFormat500Incorrect pool format: sync
E050EInvalidHeaderName500Invalid header name
E050FInvalidHeaderValue500Invalid header value

E06\_\_ - Serialization Errors

CodeErrorHTTP StatusDescription
E0601SerializationFailed400Failed to serialize data to required format
E0602DeserializationFailed400Failed to deserialize data from source format
E0603InvalidFormat400Data format is invalid or unsupported
E0604MissingField400Required field is missing from data structure
E0605TypeMismatch400Data type mismatch encountered during processing
E0606InvalidRequest400Invalid request
E0607FailedToParseRow400Failed to parse row
E0608ExpectedJsonObject400Expected a JSON object
E0609BorshNotImplemented400Borsh serialize not implemented for Client
E060AModelNotString400Passed model is not a string
E060BMaxTokensNotNumber400Passed max tokens is not a number
E060CUrlNotString400Passed URL is not a string
E060DApiKeyNotString400Passed API key is not a string

E07\_\_ - Cache Errors

CodeErrorHTTP StatusDescription
E0701KeyNotFound404Requested key was not found in cache
E0702ConnectionLost500Lost connection to cache server
E0703MemoryExhausted500Cache memory limit exceeded
E0704ExpirationFailed500Failed to set or update cache expiration
E0705InvalidKey500Cache key format is invalid
E0706NoKeyProvided500No key provided

E08\_\_ - Authentication Errors

CodeErrorHTTP StatusDescription
E0801InvalidCredentials401Invalid username or password. Please verify your credentials
E0802InvalidApiKey401Invalid API key. Please verify your API key is correct and has not expired
E0803TokenExpired401Authentication token has expired. Please log in again
E0804TokenMalformed401Authentication token is invalid
E0805InsufficientPermissions401You do not have sufficient permissions for this operation
E0806SessionExpired401Your session has expired. Please log in again

E09\_\_ - RBAC Errors

CodeErrorHTTP StatusDescription
E0901RuleNotFound403Access control rule not found. Please verify the entity and subject exist
E0902InvalidAccessLevel403Invalid access level specified. Valid levels are: Read, Write, Admin, SuperAdmin
E0903ConnectionFailure403Connection timeout to RBAC cache. Please check network connectivity
E0904PermissionDenied403Access denied due to insufficient permissions
E0905EntityNotFound403Referenced entity not found in access control system
E0906Unauthorized403Unauthorized

E0A\_\_ - Database Errors

CodeErrorHTTP StatusDescription
E0A01ConnectionTimeout500Database connection timeout. Please check network connectivity and try again
E0A02AuthenticationFailed500Database authentication failed. Please check your database credentials
E0A03SchemaError500Database schema error. Please ensure the database is properly initialized
E0A04QueryFailed500Database query execution failed
E0A05TransactionFailed500Database transaction failed
E0A06UserNotFound404User not found. Please verify the user ID is correct
E0A07OrganizationNotFound404Organization not found. Please verify the organization ID is correct
E0A08EndpointNotFound404Endpoint not found. Please verify the endpoint ID is correct
E0A09TemplateNotFound404Template not found. Please verify the template ID is correct
E0A0AWorkflowNotFound404Workflow not found. Please verify the workflow ID is correct
E0A0BDuplicateUser409User already exists. Please choose a different username
E0A0CDuplicateOrganization409Organization already exists. Please choose a different name
E0A0DDuplicateEndpoint409Endpoint already exists. Please choose a different identifier
E0A0EDuplicateTemplate409Template already exists. Please choose a different identifier
E0A0FDuplicateWorkflow409Workflow already exists. Please choose a different identifier
E0A10ConstraintViolation409Database constraint violation. Operation violates data integrity rules
E0A11IndexCorruption500Database index corruption detected. Please contact system administrator
E0A12FeatureNotEnabled500Database feature not enabled. Contact administrator

E0B\_\_ - Metadata Errors

CodeErrorHTTP StatusDescription
E0B01InvalidFormat500Metadata format is invalid or unsupported
E0B02MissingRequired500Required metadata fields are missing
E0B03CorruptedData500Metadata is corrupted or unreadable
E0B04VersionMismatch500Metadata version mismatch detected
E0B05AccessDenied500Access denied to metadata resource
E0B06FailedToDowncastRouter500Failed to downcast router
E0B07QueryTimeout408Query timeout exceeded

E0C\_\_ - Parse Errors

CodeErrorHTTP StatusDescription
E0C01InvalidSyntax400Invalid syntax encountered during parsing
E0C02UnexpectedToken400Unexpected token found in input
E0C03InvalidEncoding400Invalid character encoding detected
E0C04IncompleteData400Input data is incomplete or truncated
E0C05FormatNotSupported400Data format is not supported
E0C06FailedToParseMetadata400Failed to parse metadata
E0C07FailedToDowncastMetadata400Failed to downcast metadata
E0C08FailedToDowncastInput400Failed to downcast input
E0C09InvalidDatabaseUsername400Invalid database username
E0C0AFailedToAddRbacKey400Failed to add RbacKey to Rbac Entity

E0D\_\_ - Lock Errors

CodeErrorHTTP StatusDescription
E0D01AlreadyLocked500Resource is already locked by another process
E0D02TimeoutReached500Lock acquisition timeout reached
E0D03DeadlockDetected500Deadlock detected in lock acquisition
E0D04InvalidLockState500Lock is in an invalid state
E0D05OwnershipMismatch500Lock ownership mismatch. Cannot perform operation

E0E\_\_ - Migration Errors

CodeErrorHTTP StatusDescription
E0E01SchemaVersionMismatch500Database schema version mismatch detected
E0E02MigrationFailed500Database migration failed to execute
E0E03RollbackFailed500Failed to rollback database migration
E0E04InvalidMigration422Migration script is invalid or corrupted
E0E05DependencyMissing500Migration dependency is missing or unavailable
E0E06NoMigrationConfigured500No migration configured

E0F\_\_ - File System Errors

CodeErrorHTTP StatusDescription
E0F01FileNotFound404File or directory not found
E0F02PermissionDenied500Permission denied. Please check file/directory permissions
E0F03DiskFull500Disk is full. Please free up space and try again
E0F04InvalidPath500File path is invalid or contains illegal characters
E0F05IoError500Input/output error occurred during file operation
E0F06OrganizationIdEmpty500Organization ID cannot be empty
E0F07InfoMustBeJsonObject500Info must be a valid JSON object
E0F08NodeMustHaveEndpoint500Eden Node must have at least one endpoint
E0F09NodeIdEmpty500Eden Node ID cannot be empty
E0F0ADuplicateEndpointUuids500Duplicate endpoint UUIDs are not allowed

E10\_\_ - Data Errors

CodeErrorHTTP StatusDescription
E1001CorruptedData400Data is corrupted or unreadable
E1002InvalidFormat400Data format is invalid or unsupported
E1003MissingRequired400Required data fields are missing
E1004ValidationFailed400Data validation failed. Please check your input
E1005ConversionFailed400Failed to convert data to required format

E11\_\_ - Timeout Errors

CodeErrorHTTP StatusDescription
E1101RequestTimeout408Request timeout exceeded. Please try again
E1102ConnectionTimeout408Connection timeout reached
E1103ReadTimeout408Read operation timed out
E1104WriteTimeout408Write operation timed out
E1105ProcessTimeout408Process execution timed out

E12\_\_ - MCP Errors

CodeErrorHTTP StatusDescription
E1201ConnectionFailed500Failed to establish MCP connection
E1202ProtocolError500MCP protocol error encountered
E1203InvalidMessage500Invalid MCP message format
E1204TimeoutError500MCP operation timed out
E1205AuthenticationError500MCP authentication failed
E1206UnknownTool500Unknown tool
E1207ErrorReadingResult500Error reading result
E1208ErrorPreparingRequestBody500Error preparing request body
E1209ErrorInRequestToRelay500Error in request to relay
E120AInvalidToolArguments500Invalid tool arguments

E13\_\_ - Template Errors

CodeErrorHTTP StatusDescription
E1301TemplateNotFound400Template not found. Please verify the template ID is correct
E1302CompilationFailed400Template compilation failed. Please check template syntax
E1303RenderingFailed400Template rendering failed. Please check template variables
E1304InvalidSyntax400Invalid template syntax detected
E1305VariableMissing400Required template variable is missing

E14\_\_ - Workflow Errors

CodeErrorHTTP StatusDescription
E1401WorkflowNotFound404Workflow not found. Please verify the workflow ID is correct
E1402ExecutionFailed500Workflow execution failed
E1403InvalidDefinition422Workflow definition is invalid or corrupted
E1404StepFailed500Workflow step failed to execute
E1405TimeoutExceeded500Workflow execution timeout exceeded
E1406NoInputsProvided500No inputs provided
E1407CycleDetected422Cycle detected in DAG
E1408ChannelSendError500Channel send error

Quick Reference

CategoryCountMost Common
API (E01\_\_)5E0101, E0102, E0103
Init (E02\_\_)5E0201, E0202
Transaction (E03\_\_)13E0302, E0304
Request (E04\_\_)8E0401, E0402, E0403
Connect (E05\_\_)15E0501, E0502, E0503
Serde (E06\_\_)13E0601, E0602, E0603
Cache (E07\_\_)6E0701, E0702
Auth (E08\_\_)6E0801, E0802, E0803
Rbac (E09\_\_)6E0904, E0906
Database (E0A\_\_)18E0A06, E0A07, E0A0B
Metadata (E0B\_\_)7E0B01, E0B07
Parse (E0C\_\_)10E0C01, E0C02
Lock (E0D\_\_)5E0D01, E0D02
Migration (E0E\_\_)6E0E02, E0E04
Fs (E0F\_\_)10E0F01, E0F02
Data (E10\_\_)5E1001, E1004
Timeout (E11\_\_)5E1101, E1102
Mcp (E12\_\_)10E1201, E1206
Template (E13\_\_)5E1301, E1302, E1305
Workflow (E14\_\_)8E1401, E1402, E1403
Last updated: October 20, 2018
Size: 26.28 KB
    Eden