# Declared SDK error codes

API `6.4.1` · SDK `6.5.3` · Docs `6.5.3`

Generated from explicit SDK error declarations. Server/provider responses can contain additional codes. Follow the [failure and reconciliation contract](/docs/agent-execution.md) and the relevant feature guide. An ID on an error is not proof of delivery; never log private payloads, credentials or payment proofs.

| Code | Declared by |
| --- | --- |
| `attachment_decrypt_failed` | `/ubnet/chats.js` |
| `attachment_required` | `/ubnet/chats.js` |
| `attachments_disabled` | `/ubnet/chats.js` |
| `chat_id_required` | `/ubnet/chats.js` |
| `chat_identity_mismatch` | `/ubnet/chats.js` |
| `chat_recipient_missing` | `/ubnet/chats.js` |
| `ens_profile_name_required` | `/ubnet/profiles.js` |
| `fetch_unavailable` | `/ubnet/client.js`, `/ubnet/clientCompat.js` |
| `file_sales_error` | `/ubnet/fileSales.js` |
| `file_sales_invalid_file` | `/ubnet/fileSales.js` |
| `file_sales_invalid_preparation` | `/ubnet/fileSales.js` |
| `file_sales_invalid_request_id` | `/ubnet/fileSales.js` |
| `file_sales_invalid_response` | `/ubnet/fileSales.js` |
| `file_sales_invalid_upload_hook` | `/ubnet/fileSales.js` |
| `file_sales_request_ids_must_differ` | `/ubnet/fileSales.js` |
| `file_sales_signer_unconfigured` | `/ubnet/fileSales.js` |
| `file_sales_upload_rejected` | `/ubnet/fileSales.js` |
| `file_sales_upload_uncertain` | `/ubnet/fileSales.js` |
| `file_sales_upload_url_expired` | `/ubnet/fileSales.js` |
| `group_recipients_missing_keys` | `/ubnet/chats.js` |
| `image_file_size_invalid` | `/ubnet/profiles.js` |
| `image_file_type_invalid` | `/ubnet/profiles.js` |
| `image_file_type_missing` | `/ubnet/profiles.js` |
| `invalid_api_base` | `/ubnet/core.js` |
| `invalid_attachment` | `/ubnet/chatTransport.js` |
| `invalid_cid` | `/ubnet/ipfs.js` |
| `invalid_delivery_mode` | `/ubnet/chats.js` |
| `invalid_ens_name` | `/ubnet/profiles.js` |
| `invalid_expiry` | `/ubnet/chats.js` |
| `invalid_input` | `/ubnet/core.js` |
| `invalid_post_type` | `/ubnet/shared.js` |
| `invalid_profile_identity` | `/ubnet/chatIdentity.js`, `/ubnet/chatTransport.js`, `/ubnet/profiles.js` |
| `invalid_profile_name` | `/ubnet/core.js` |
| `invalid_reaction` | `/ubnet/shared.js` |
| `invalid_read_status_cursor` | `/ubnet/chats.js` |
| `invalid_read_sync_preference` | `/ubnet/chats.js` |
| `invalid_view_window` | `/ubnet/chats.js` |
| `invalid_wallet` | `/ubnet/core.js` |
| `listener_required` | `/ubnet/chats.js` |
| `message_event_id_required` | `/ubnet/chats.js` |
| `message_expired` | `/ubnet/chats.js` |
| `message_not_shared_with_identity` | `/ubnet/chats.js` |
| `message_required` | `/ubnet/chats.js` |
| `message_unavailable` | `/ubnet/chats.js` |
| `messaging_backup_decrypt_failed` | `/ubnet/chats.js` |
| `messaging_backup_invalid` | `/ubnet/chats.js` |
| `messaging_backup_password_required` | `/ubnet/chats.js` |
| `messaging_crypto_unavailable` | `/ubnet/chats.js` |
| `messaging_destroy_not_indexed` | `/ubnet/chatTransport.js` |
| `messaging_encoding_required` | `/ubnet/chatTransport.js` |
| `messaging_encrypted_payload_required` | `/ubnet/chatTransport.js` |
| `messaging_encrypted_required` | `/ubnet/chatTransport.js` |
| `messaging_group_keys_required` | `/ubnet/chatTransport.js` |
| `messaging_key_conflict` | `/ubnet/chats.js` |
| `messaging_key_extractable` | `/ubnet/chats.js` |
| `messaging_key_invalid` | `/ubnet/chats.js` |
| `messaging_local_key_missing` | `/ubnet/chats.js` |
| `messaging_plaintext_not_supported` | `/ubnet/chatTransport.js` |
| `messaging_protocol_required` | `/ubnet/chatTransport.js` |
| `messaging_public_key_invalid` | `/ubnet/chatTransport.js`, `/ubnet/chats.js`, `/ubnet/profiles.js` |
| `messaging_recovery_decrypt_failed` | `/ubnet/chats.js` |
| `messaging_recovery_invalid` | `/ubnet/chatTransport.js`, `/ubnet/chats.js`, `/ubnet/profiles.js` |
| `messaging_recovery_material_unavailable` | `/ubnet/chats.js` |
| `messaging_recovery_missing` | `/ubnet/chats.js` |
| `messaging_recovery_profile_mismatch` | `/ubnet/chatTransport.js`, `/ubnet/chats.js`, `/ubnet/profiles.js` |
| `messaging_recovery_wallet_mismatch` | `/ubnet/chatTransport.js`, `/ubnet/profiles.js` |
| `messaging_replacement_required` | `/ubnet/chats.js` |
| `messaging_session_invalid` | `/ubnet/chatTransport.js` |
| `messaging_setting_invalid` | `/ubnet/chats.js` |
| `messaging_setup_required` | `/ubnet/chats.js` |
| `messaging_storage_unavailable` | `/ubnet/chats.js` |
| `messaging_sync_failed` | `/ubnet/chats.js` |
| `messaging_unlock_cancelled` | `/ubnet/chats.js` |
| `open_required` | `/ubnet/chats.js` |
| `post_categories_immutable` | `/ubnet/posts.js` |
| `post_categories_required` | `/ubnet/posts.js` |
| `post_cid_media_type_required` | `/ubnet/shared.js` |
| `post_media_invalid` | `/ubnet/shared.js` |
| `profile_image_browser_unsupported` | `/ubnet/profiles.js` |
| `profile_name_is_already_in_use` | `/ubnet/profiles.js` |
| `read_sync_not_indexed` | `/ubnet/chats.js` |
| `recipient_delivery_direct_only` | `/ubnet/chats.js` |
| `recipient_messaging_key_missing` | `/ubnet/chats.js` |
| `restore_required` | `/ubnet/chats.js` |
| `spasm_id_unavailable` | `/ubnet/chatTransport.js`, `/ubnet/events.js`, `/ubnet/profiles.js` |
| `unlock_required` | `/ubnet/chats.js`, `/ubnet/v2.js` |
| `view_timer_direct_only` | `/ubnet/chats.js` |
| `wallet_provider_missing` | `/ubnet/chatTransport.js`, `/ubnet/chats.js`, `/ubnet/events.js`, `/ubnet/profiles.js`, `/ubnet/uploads.js` |
| `wallet_signature_missing` | `/ubnet/profiles.js`, `/ubnet/uploads.js` |
| `whisper_lifecycle_required` | `/ubnet/chats.js` |
