Back to Realtime

Error Operational Codes

ERROR_CODES.md

2.90.118.8 KB
Original Source

Error Operational Codes

This is the list of operational codes that can help you understand your deployment and your usage.

CodeDescription
TopicNameRequiredYou are trying to use Realtime without a topic name set
InvalidJoinPayloadThe payload provided to Realtime on connect is invalid
RealtimeDisabledForConfigurationThe configuration provided to Realtime on connect will not be able to provide you any Postgres Changes
TenantNotFoundThe tenant you are trying to connect to does not exist
MissingAPIKeyNo API key was provided in the x-api-key header or apikey query parameter
ErrorConnectingToWebsocketError when trying to connect to the WebSocket server
ErrorAuthorizingWebsocketError when trying to authorize the WebSocket connection
TableHasSpacesInNameThe table you are trying to listen to has spaces in its name which we are unable to support
UnableToDeleteTenantError when trying to delete a tenant
UnableToSetPoliciesError when setting up Authorization Policies
UnableCheckoutConnectionError when trying to checkout a connection from the tenant pool
UnableToSubscribeToPostgresError when trying to subscribe to Postgres changes
ReconnectSubscribeToPostgresPostgres changes still waiting to be subscribed
ChannelRateLimitReachedThe number of channels you can create has reached its limit
ConnectionRateLimitReachedThe number of connected clients as reached its limit
ClientJoinRateLimitReachedThe rate of joins per second from your clients has reached the channel limits
DatabaseConnectionRateLimitReachedThe rate of attempts to connect to tenants database has reached the limit
MessagePerSecondRateLimitReachedThe rate of messages per second from your clients has reached the channel limits
RealtimeDisabledForTenantRealtime has been disabled for the tenant
UnableToConnectToTenantDatabaseRealtime was not able to connect to the tenant's database
DatabaseLackOfConnectionsRealtime was not able to connect to the tenant's database due to not having enough available connections
RealtimeNodeDisconnectedRealtime is a distributed application and this means that one the system is unable to communicate with one of the distributed nodes
MigrationsFailedToRunError when running the migrations against the Tenant database that are required by Realtime
StartReplicationFailedError when starting the replication and listening of errors for database broadcasting
ReplicationConnectionTimeoutReplication connection timed out during initialization
ReplicationMaxWalSendersReachedMaximum number of WAL senders reached in tenant database, check how to increase this value in this link
MigrationCheckFailedCheck to see if we require to run migrations fails
PartitionCreationFailedError when creating partitions for realtime.messages
ErrorStartingPostgresCDCStreamError when starting the Postgres CDC stream which is used for Postgres Changes
UnknownDataProcessedAn unknown data type was processed by the Realtime system
ErrorStartingPostgresCDCError when starting the Postgres CDC extension which is used for Postgres Changes
ReplicationSlotBeingUsedThe replication slot is being used by another transaction
PoolingReplicationPreparationErrorError when preparing the replication slot
PoolingReplicationErrorError when pooling the replication slot
SubscriptionCleanupFailedError when trying to clean up all subscriptions on subscription manager initialization or OID change
SubscriptionDeletionFailedError when trying to delete a subscription for postgres changes
SubscriptionsCheckerConnectionFailedError when the subscriptions checker process fails to connect to the database on startup
ReplicationPollerConnectionFailedError when the replication poller process fails to connect to the database on startup
SubscriptionManagerConnectionFailedError when the subscription manager process fails to connect to the database on startup
PgStatActivityQueryFailedError when querying pg_stat_activity to diagnose a replication slot conflict
RateCounterErrorError when retrieving the subscription rate counter, falling back to blocking new subscriptions
UnableToDeletePhantomSubscriptionsError when trying to delete subscriptions that are no longer being used
UnableToCheckProcessesOnRemoteNodeError when trying to check the processes on a remote node
UnhandledProcessMessageUnhandled message received by a Realtime process
UnableToTrackPresenceError when handling track presence for this socket
UnknownPresenceEventPresence event type not recognized by service
IncreaseConnectionPoolThe number of connections you have set for Realtime are not enough to handle your current use case
RlsPolicyErrorError on RLS policy used for authorization
ConnectionInitializingDatabase is initializing connection
DatabaseConnectionIssueDatabase had connection issues and connection was not able to be established
UnableToConnectToProjectUnable to connect to Project database
InvalidJWTExpirationJWT exp claim value it's incorrect
JwtSignatureErrorJWT signature was not able to be validated
MalformedJWTToken received does not comply with the JWT format
UnauthorizedUnauthorized access to Realtime channel
RealtimeRestartingRealtime is currently restarting
InvalidPresencePayloadPayload from track event sent to Presence isn't a map
UnableToProcessListenPayloadPayload sent in NOTIFY operation was JSON parsable
UnprocessableEntityReceived a HTTP request with a body that was not able to be processed by the endpoint
InitializingProjectConnectionConnection against Tenant database is still starting
TimeoutOnRpcCallRPC request within the Realtime server as timed out.
ErrorOnRpcCallError when calling another realtime node
ErrorExecutingTransactionError executing a database transaction in tenant database
SynInitializationErrorOur framework to syncronize processes has failed to properly startup a connection to the database
JanitorFailedToDeleteOldMessagesScheduled task for realtime.message cleanup was unable to run
UnableToEncodeJsonAn error were we are not handling correctly the response to be sent to the end user
UnableToBroadcastChangesError when trying to broadcast database changes to subscribers
UnexpectedMessageReceivedAn unexpected message was received by the replication connection process
ErrorRunningQueryError when running a query against the tenant database
UnknownErrorAn unhandled error occurred
UnknownErrorOnControllerAn error we are not handling correctly was triggered on a controller
UnknownErrorOnChannelAn error we are not handling correctly was triggered on a channel
PresenceRateLimitReachedLimit of presence events reached
ClientPresenceRateLimitReachedLimit of presence events reached on socket
UnableToReplayMessagesAn error while replaying messages
JwtSignerErrorFailed to generate a JWT signer — check your JWT secret or JWKS configuration
MalformedWebSocketMessageReceived a WebSocket message that is empty, invalid JSON, or missing required fields (ref, topic, or event). The connection is kept alive but the message is dropped
UnknownErrorOnWebSocketMessageAn unexpected error occurred while processing an incoming WebSocket message. The connection is kept alive but the message is dropped