Skip to main content
Version: 1.x

Errors

RPC failures are returned as error response messages in the envelope described by Interaction Model. Surface the message safely to users, log the method and request ID, and guide the user to the next recoverable action where one exists.

Error messageReturned byUser-facing handling
account_not_foundchannels.v1.get_last_key_states, app_sessions.v1.get_last_key_states, user.v1.get_balancesAsk the user to reconnect or verify the wallet address.
app_already_existsapps.v1.submit_app_versionTreat registration as complete if the app metadata matches; otherwise choose a new app ID.
app_session_not_foundapp_sessions.v1.get_app_definitionRefresh the session list before retrying.
application_not_registeredapp_sessions.v1.create_app_sessionRegister the app with apps.v1.submit_app_version, then retry.
channel_already_existschannels.v1.request_creationFetch the existing channel and continue from its latest state.
channel_not_foundchannels.v1.get_home_channel, channels.v1.get_escrow_channel, channels.v1.get_latest_state, channels.v1.submit_state, app_sessions.v1.submit_deposit_stateCreate or fund the required channel, or refresh local channel IDs.
denied_until_checkpointchannels.v1.submit_stateRun the checkpoint flow before submitting another state.
insufficient_balanceapp_sessions.v1.create_app_sessionAsk the user to deposit or reduce allocations.
invalid_app_idapps.v1.submit_app_versionFix the application ID format.
invalid_app_stateapp_sessions.v1.submit_deposit_state, app_sessions.v1.submit_app_stateRebuild the app-state update from the latest session version.
invalid_channel_definitionchannels.v1.request_creationRecompute the channel definition from SDK helpers.
invalid_definitionapp_sessions.v1.create_app_sessionValidate participants, quorum, nonce, and application ID.
invalid_owner_signatureapp_sessions.v1.create_app_sessionRe-sign creation approval with the registered owner wallet.
invalid_parameterschannels.v1.get_channels, app_sessions.v1.get_app_sessions, apps.v1.get_appsFix filters and pagination parameters.
invalid_session_key_statechannels.v1.submit_session_key_state, app_sessions.v1.submit_session_key_stateRebuild the session key state and verify expiration, scope, and user signature.
invalid_signatureapps.v1.submit_app_versionRe-sign packed app data with the owner wallet.
invalid_statechannels.v1.request_creationRebuild and sign the state from canonical SDK state helpers.
invalid_transitionchannels.v1.submit_stateRecompute the next state from the latest node-signed state.
invalid_versionapps.v1.submit_app_versionSubmit version 1; other versions are not supported yet.
ongoing_transitionchannels.v1.submit_state, app_sessions.v1.submit_app_statePoll latest state or app session until the pending transition settles.
owner_sig_requiredapp_sessions.v1.create_app_sessionInclude owner_sig because the registered app requires owner approval.
quorum_not_metapp_sessions.v1.submit_deposit_state, app_sessions.v1.submit_app_stateCollect enough participant signatures to satisfy quorum.
retrieval_faileduser.v1.get_action_allowancesRetry after reconnecting; log the failure for operators.
wallet_requireduser.v1.get_action_allowancesRequest a connected wallet address before calling the method.