ErrLookup › toeverything/AFFiNE

toeverything/AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use. · TypeScript · 6,460 source files

Analyzed at 26c515e050 on 2026-08-12. 217 documented errors.

Code / MessageTypeSeverityTags
ValueNotExists
property ${propertyId} not found
exception error data-view, block-query, property-lookup, value-not-exists
Method not implemented.
exception error data-view, block-query, not-implemented, property-duplicate
DatabaseBlockError
Unknown view type: ${type}
exception error database, view-meta, value-not-exists, version-skew
Invalid rowId
validation error security, prototype-pollution, database, input-validation
ValueNotExists
EmbedIframeService or LinkPreviewService not found
exception error embed-iframe, dependency-injection, service-missing, value-not-exists
GfxBlockElementError
Frame model is not found
exception error frame, edgeless, gfx-block-element, schema-registration
Failed to read image size
exception warning image, upload, decode-error, validation
Unable to export content to canvas
exception warning edgeless, export, navigation-guard, async-cancel
EdgelessExportError
Could not find edgeless block component.
exception error edgeless, export, component-missing, edgeless-export-error
NoSurfaceModelError
This doc is missing surface block in edgeless.
exception critical edgeless, surface-block, no-surface-model, doc-init
MissingViewModelError
can not find element(id:${referenceElement})
exception error surface-ref, edgeless, missing-view-model, dangling-reference
ValueNotExists
Key is not defined in the EdgelessClipboardConfig
exception error clipboard, edgeless, dependency-injection, registration
EdgelessExportError
Unable to export content to canvas
exception warning export, edgeless, navigation-guard, edgeless-export-error
ValueNotExists
The overlay constructor '${this.name}' should have a static 'overlayName' proper
exception error overlay, renderer, dependency-injection, registration
Param not a number: ${mode},${numbeToken.text}
exception error svg, path-parser, parsing, surface
Bad segment: ${mode}
exception error svg, path-parser, parsing, surface
Path data ended short
exception error svg, path-data, parsing
A curve must have at least three points.
exception error curve, geometry, points, bezier
ValueNotExists
Failed to create portal root
exception error portal, dom, shadow-dom, rendering
Blob engine is not initialized
exception error blob, resource, initialization, lifecycle
DatabaseBlockError
View ${viewId} not found
exception error data-view, database, view, lifecycle
DatabaseBlockError
can't resolve ref type
exception error data-view, filter, type, database
DatabaseBlockError
unexpected type unify, type var reference
exception error data-view, type-system, logical, internal
DatabaseBlockError
no groupable column found
exception error kanban, data-view, grouping, database
DatabaseBlockError
Unknown arrow keys, only support: up, down, left, and right keys.
exception warning kanban, selection, keyboard, internal
ValueNotExists
Extension scope ${scope} not found
exception error extension, scope, ext-loader, initialization
ValueNotExists
Failed to get start and end points when getting connectable points
exception error connector, gfx, geometry, routing
ParsingError
Unsupported file type
error_code error mindmap, import, file-type, parsing
ErrorCode.InlineEditorError
failed to find vElement for a text note in an embed element
exception error inline-editor, dom, embed, selection, range
ErrorCode.ValueNotExists
Host is not ready to use, the `render` method should be called first
exception error lifecycle, std-scope, editor-host, ordering
ErrorCode.DefaultRuntimeError
Property ${propName} is required to ${instance.constructor.name}.
exception error decorator, lit, validation, block-component
ErrorCode.MissingViewModelError
Cannot find block model for id ${this.blockId}
exception error block-component, store, model, lifecycle
ErrorCode.GfxBlockElementError
Error on rendering '${this.model.flavour}': Gfx block's model should have 'xywh'
exception error gfx, block-schema, xywh, rendering
ErrorCode.NoRootModelError
This doc is missing root block. Please initialize the default block structure be
exception critical editor-host, doc, root-block, fatal, lifecycle
ErrorCode.TransformerError
value is required
exception error assets, blob, transformer, internal
ErrorCode.SelectionError
Unknown selection type: ${json.type}
exception error selection, di, awareness, registration, remote-sync
ErrorCode.ValueNotExists
Key is not defined in the StoreExtension
exception error store-extension, di, registration, config
ErrorCode.ModelCRUDError
schema for flavour: ${this.flavour} not found
exception error schema, block-model, flavour, registration, yjs
ErrorCode.ModelCRUDError
schema for flavour: ${this.flavour} not found
exception error model-crud, schema, flavour-registration, sync-controller
ErrorCode.ModelCRUDError
schema for flavour: ${flavour} not found
exception error model-crud, schema, addblock, flavour-registration
ErrorCode.ModelCRUDError
cannot modify data in readonly mode
exception error model-crud, readonly, addblock, permissions
ModelCRUDError
updating block: ${model.id} not found
exception error model-crud, updateblock, yjs, collaboration-race
ReactiveProxyError
flatY2Native does not support Y.Map as value of Y.Map
exception error reactive-proxy, flat-data, yjs, schema
Invalid key for: ${key}
exception error reactive-proxy, flat-data, validation, invariant
ReactiveProxyError
key cannot be a symbol
exception error reactive-proxy, proxy, symbol, yjs
ReactiveProxyError
Failed to transact text! yText is not attached to a doc
exception error yjs, text, reactive-proxy, lifecycle, doc-binding
SchemaValidateError
Invalid schema for ${flavour}: Schema not found. The block flavour may not be re
validation error blocksuite, schema, block-registration, validation
TransformerError
Blob ${blobId} not found in assets manager
exception error blocksuite, transformer, assets, blob, import-export
TransformerError
Root block not found in doc
exception error blocksuite, transformer, snapshot, export, root-block
action_forbidden
You are not allowed to perform this action.
http warning graphql, affine-backend, error-handling, type-registration, forbidden
bad_request
pagination.after and pagination.offset cannot be used together
validation warning graphql, affine-backend, pagination, validation, bad-request
Invalid config for module [${module}] with key [${key}] Valu
exception critical affine-backend, config, startup, zod, validation, environment
Invalid `server.externalUrl` configured. It must be a valid
exception critical affine-backend, config, url, startup, server
action_forbidden
You are not allowed to perform this action.
http warning affine-backend, security, url, redirect, oauth, forbidden, open-redirect
Invalid database index: ${db}, must be between 0 and 11
exception critical affine-backend, redis, config, startup, database
Invalid duration string unit ${ch}
exception error affine-backend, utils, duration, parsing, validation
authentication_required
You must sign in first to access this resource.
http error websocket, authentication, session, socket-io
auth_session_temporarily_unavailable
Auth session service is temporarily unavailable.
exception warning authentication, signing-key, race-condition, retry, internal
invalid_auth_state
Invalid auth state. You might start the auth progress from another device.
exception error validation, cache, ttl, programming-error
invalid_email
An invalid email provided: ${email}
exception error validation, email, preflight, input
action_forbidden
You are not allowed to perform this action.
exception warning authentication, sign-in, policy, forbidden
wrong_sign_in_credentials
Wrong user email or password: ${email}
exception error authentication, sign-in, race-condition, data-integrity
invalid_auth_state
Invalid auth state. You might start the auth progress from another device.
exception error validation, open-app, sign-in, input
email_token_not_found
The email token provided is not found.
exception error validation, magic-link, input, email
access_denied
Invalid internal request
exception error internal, rpc, access-token, forbidden, replay-protection
authentication_required
You must sign in first to access this resource.
exception error authentication, guard, unauthorized, session
access_token_invalid
The access token is invalid.
exception error authentication, jwt, access-token, invalid
access_token_expired
The access token has expired.
exception warning authentication, jwt, access-token, expired, refresh
auth_session_expired
The auth session has expired.
exception warning authentication, session, expired, re-auth
unsupported_client_version
Unsupported client with version [${clientVersion}], required version is [${requi
exception error auth, versioning, semver, config, client-compat
action_forbidden
You are not allowed to perform this action.
exception error auth, magic-link, redirect-safety, open-redirect, config
wrong_sign_in_credentials
Wrong user email or password: ${email}
exception error auth, magic-link, account-state, disabled-account, anti-enumeration
invalid_auth_state
Invalid auth state. You might start the auth progress from another device.
exception error auth, magic-link, otp, nonce, anti-replay
invalid_email_token
An invalid email token provided.
exception error auth, magic-link, otp, expired-token, validation
sign_up_forbidden
You are not allowed to sign up.
exception error auth, signup, config, registration, self-hosted
invalid_email
An invalid email provided: ${email}
exception error auth, signup, email-verification, dns, config, self-hosted
invalid_auth_state
Invalid auth state. You might start the auth progress from another device.
exception error auth, open-app, challenge-store, expired-token, one-time-code
action_forbidden
You are not allowed to perform this action.
exception warning auth, graphql, deprecated, authorization, session
link_expired
The link has expired.
exception error auth, password, reset-link, graphql, anti-enumeration
invalid_email_token
An invalid email token provided.
exception error auth, password, verification-token, expired-token, graphql
email_verification_required
You must verify your email before accessing this resource.
exception error auth, email-verification, password, precondition, graphql
email_token_not_found
The email token provided is not found.
exception error auth, email-change, verification-token, graphql, validation
email_already_used
This email has already been registered.
exception error auth, email-change, uniqueness, conflict, graphql
same_email_provided
You are trying to update your account email to the same as the old one.
exception warning auth, email, validation, graphql
sign_up_forbidden
sign up helper is forbidden for non-test environment
exception critical auth, security, environment, deprecated, configuration
action_forbidden
You are not allowed to perform this action.
exception error auth, session, native-client, forbidden, headers
invalid_auth_state
Invalid auth state. You might start the auth progress from another device.
exception error auth, session, challenge, native-client, expiry
too_many_request
Too many requests.
exception warning auth, rate-limit, refresh, session, throttling
The refresh token is invalid. | The auth session has expired
http error auth, session, refresh, token, authentication
auth_session_revoked
The auth session has been revoked.
http error auth, session, refresh, revocation, race-condition
invalid_app_config_input
Invalid app config input: The active signing key changed. Reload and try again.
exception warning auth, signing-key, concurrency, optimistic-lock, config
action_forbidden
You are not allowed to perform this action.
exception error auth, signing-key, lifecycle, forbidden, key-rotation
copilot_selected_sources_limit_exceeded
Too many or too much content was selected. Select fewer sources and try again.
exception warning copilot, embedding, validation, limits, ai-retrieval
copilot_selected_sources_unavailable
Selected sources are not available for AI retrieval.
exception error copilot, embedding, health, ai-retrieval, infrastructure
comment_not_found
Comment not found.
exception warning comment, not-found, graphql, stale-state
reply_not_found
Reply not found.
exception error graphql, comments, replies, not-found, concurrency
comment_attachment_quota_exceeded
You have exceeded the comment attachment size quota.
exception warning graphql, comments, attachments, quota, upload, file-size
action_forbidden
You are not allowed to perform this action.
exception error graphql, auth, authorization, admin, guard, permissions
invalid_app_config_input
Invalid app config input: ${message}
validation warning config, validation, admin, graphql, schema
not_found
Doc not found
exception error rpc, http, doc-storage, not-found, internal, sync
Too many concurrent writings
exception warning doc-storage, userspace, concurrency, mutex, lock, retry
failed_to_save_updates
Failed to store doc updates.
exception error doc-storage, workspace, postgres, persistence, retry, internal-server-error
doc_history_not_found
History of ${docId} at ${timestamp} under Space ${spaceId}.
exception error doc-storage, workspace, history, rollback, not-found, retention
doc_not_found
Doc ${docId} under Space ${spaceId} not found.
exception error doc-storage, workspace, history, rollback, not-found, data-integrity
failed_to_upsert_snapshot
Failed to store doc snapshot.
exception error doc-storage, workspace, postgres, persistence, retry, internal-server-error, snapshot
Too many concurrent writings
exception error concurrency, locking, redis, doc-update, distributed-lock
Can not find the version to rollback to.
exception error rollback, history, doc, validation, not-found
Can not find the current version of the doc.
exception error rollback, snapshot, doc, data-integrity, not-found
Workspace ${workspaceId} not found or has no root document
http error workspace, doc, not-found, validation, create
Document ${docId} not found
http error doc, update, not-found, validation
No metadata provided
validation warning doc, metadata, validation, input-validation
bad_request
Self-hosted commercial entitlements require a signed license.
validation error entitlement, self-hosted, license, authorization, admin
selfhost license key is required
validation error entitlement, self-hosted, license, validation, input-validation
bad_request
User feature ${unsupported.join(', ')} is not configurable
validation error features, admin, validation, input-validation, graphql
email_service_not_configured
Email service is not configured.
exception error mail, smtp, configuration, env, self-hosted
bad_request
Mail delivery analytics window must be 24 or 168 hours.
validation warning mail, analytics, validation, input-validation, admin
mention_user_oneself_denied
You can not mention yourself.
exception warning notification, mention, business-rule, validation, graphql
mention_user_doc_access_denied
Mentioned user can not access doc ${docId}.
exception warning notification, mention, permission, authorization, business-rule
notification_not_found
Notification not found.
exception warning notification, not-found, prisma, idempotency, validation
internal_server_error
An internal error occurred.
exception critical permission, native-module, internal-error, version-skew, authorization
space_access_denied
You do not have permission to access Space ${spaceId}.
exception error permissions, authorization, workspace, nestjs
doc_action_denied
You do not have permission to perform ${action} action on doc ${docId}.
exception error permissions, authorization, doc, nestjs
space_access_denied
You do not have permission to access Space ${spaceId}.
exception error realtime, permissions, quota, websocket, nestjs
member_quota_exceeded
You have exceeded your workspace member quota.
exception error quota, billing, members, nestjs
unsupported_client_version
Unsupported client with version [${clientVersion}], required version is [${requi
exception error realtime, versioning, semver, websocket, nestjs
action_forbidden
First user already created
exception error selfhost, setup, nestjs, configuration
password_required
Password is required.
exception error selfhost, setup, validation, nestjs
internal_server_error
An internal error occurred.
exception critical selfhost, concurrency, mutex, nestjs, infrastructure
blob_invalid
Invalid endpoint
exception error storage, r2, s3, configuration, nestjs
blob_invalid
Missing upload content length
exception error upload, validation, presign, content-length
space_access_denied
You do not have permission to access Space ${spaceId}.
exception error authz, sync, websocket, userspace, permission
doc_not_found
Doc ${docId} under Space ${spaceId} not found.
exception error sync, websocket, doc-storage, yjs
not_in_space
You should join in Space ${spaceId} before broadcasting messages.
exception error sync, websocket, rooms, ordering
doc_update_blocked
Doc ${docId} under Space ${spaceId} is blocked from updating.
exception warning sync, doc-storage, workspace, permissions
bad_request
Invalid origin: ${origin}, referer: ${referer}
exception warning telemetry, cors, config, http
bad_request
Invalid origin: ${origin}, referer: ${referer}
exception warning telemetry, cors, websocket, config
action_forbidden
Only available when avatar storage provider is fs or assetpack.
exception warning user, storage, avatar, config
user_avatar_not_found
User avatar not found.
exception info user, storage, avatar, not-found
authentication_required
You must sign in first to access this resource.
exception error user, realtime, auth, websocket
user_not_found
User not found.
exception error user, realtime, not-found, database
user_not_found
User not found.
exception error user, graphql, auth, avatar
image_format_not_supported
Image format not supported: ${format}
exception warning user, avatar, validation, image
cannot_delete_own_account
Cannot delete own account.
exception error user, admin, graphql, authorization
invalid_email
An invalid email provided: ${email}
exception warning validation, email, zod, auth
invalid_password_length
Password must be between ${min} and ${max} characters
exception warning validation, password, zod, auth
unsupported_client_version
Unsupported client with version [${clientVersion}], required version is [${requi
exception error versioning, compatibility, config, semver
too_many_request
Too many requests.
exception error rate-limit, abuse-detection, invite, resilience, fail-closed
doc_action_denied
You do not have permission to perform ${action} action on doc ${docId}.
exception error authz, access-control, docs, permissions
doc_not_found
Doc ${docId} under Space ${spaceId} not found.
exception error docs, not-found, storage, replication
space_access_denied
You do not have permission to access Space ${spaceId}.
exception error authz, access-control, blobs, permissions
blob_not_found
Blob ${blobId} not found in Space ${spaceId}.
exception error blobs, not-found, storage, object-store
invalid_history_timestamp
Invalid doc history timestamp provided.
exception warning input-validation, history, date, bug
doc_history_not_found
History of ${docId} at ${timestamp} under Space ${spaceId}.
exception error history, not-found, snapshots, docs
comment_attachment_not_found
Comment attachment not found.
exception error comments, attachments, not-found, storage
query_too_long
Query is too long, max length is ${max}.
exception warning input-validation, search, pagination, realtime
Not Found
exception error admin, deployment, cloud-only, self-hosted
blob_quota_exceeded
You have exceeded your blob size quota.
exception error quota, blobs, limits, billing
storage_quota_exceeded
You have exceeded your storage quota.
exception error quota, storage, limits, billing
blob_invalid
Blob size mismatch
exception warning blobs, input-validation, upload, multipart
blob_not_found
Blob ${blobId} not found in Space ${spaceId}.
exception error blob-storage, graphql, upload-lifecycle, not-found
action_forbidden
This feature is temporarily unavailable for you.
exception error abuse-prevention, graphql, authorization, share
doc_not_found
Doc ${docId} under Space ${spaceId} not found.
exception error graphql, doc, not-found, deprecated
expect_to_publish_doc
Expected to publish a doc, not a Space.
exception error graphql, doc, publishing, validation
expect_to_revoke_public_doc
Expect doc not to be workspace
exception error graphql, doc, publishing, validation
expect_to_grant_doc_user_roles
Expect doc not to be workspace
exception error graphql, doc, permissions, validation
expect_to_revoke_doc_user_roles
Expect doc not to be workspace
exception error graphql, permissions, workspace, validation, doc-role
expect_to_update_doc_user_role
Expect doc not to be workspace
exception error graphql, permissions, workspace, validation, doc-role
doc_default_role_can_not_be_owner
Doc default role can not be owner.
http error graphql, permissions, validation, doc-role
action_forbidden
This feature is temporarily unavailable for you.
http warning graphql, abuse, permissions, rate-limit, workspace
query_too_long
Query is too long, max length is ${max}.
http error graphql, validation, workspace, search
too_many_request
Too many requests.
http error graphql, rate-limit, validation, workspace, invite
already_in_space
You have already joined in Space ${spaceId}.
http warning graphql, invite, workspace, state
no_more_seat
No more seat available in the Space ${spaceId}.
http warning graphql, quota, invite, workspace, billing
member_not_found_in_space
Member not found in Space ${spaceId}.
http error graphql, invite, workspace, state, validation
action_forbidden_on_non_team_workspace
A Team workspace is required to perform this action.
http error graphql, permissions, workspace, billing, validation
user_not_found
User not found.
http error graphql, invite, auth, workspace, state
can_not_revoke_yourself
You can not revoke your own permission.
http error graphql, workspace, members, authorization, nestjs
invalid_invitation
Invalid invitation provided.
http error graphql, workspace, invitation, authentication, nestjs
authentication_required
You must sign in first to access this resource.
http error graphql, workspace, invitation, authentication, nestjs
owner_can_not_leave_workspace
Owner can not leave the workspace.
http error graphql, workspace, members, owner, business-rule, nestjs
space_access_denied
You do not have permission to access Space ${spaceId}.
http error graphql, workspace, policy, billing, suspended, nestjs
space_not_found
Space ${spaceId} not found.
http error graphql, workspace, not-found, nestjs
space_access_denied
You do not have permission to access Space ${spaceId}.
http error graphql, workspace, authorization, deprecated, nestjs
not_found
Invitation not found
http error service, workspace, invitation, cache, redis, not-found, nestjs
A config file path is required
exception error cli, config, import, nestjs, validation
invalid_app_config_input
Invalid app config input: ${message}
http error cli, config, import, validation, nestjs
Invalid migration name: ${migration.name}
exception critical cli, migration, naming-convention, bootstrap, nestjs
Unknown migration name: ${name}.
exception error cli, migration, not-found, nestjs
A migration name is required
exception error cli, migration, validation, nestjs
Migration ${name} has not been executed.
exception error migration, data-migration, database, cli
Invalid value "${value}" for environment variable ${env}, ex
exception critical env, config, bootstrap, validation
comment_not_found
Comment not found.
error_code error comment, reply, graphql, not-found
App config paths must not overlap: ${overlappingKey} and ${k
exception error app-config, config, validation, nested-keys
copilot_prompt_invalid
${promptName} are not allowed for ${sessionType} sessions
error_code error copilot, session, prompt, validation
copilot_session_deleted
Copilot session has been deleted.
error_code error copilot, session, soft-delete, reuse
copilot_session_not_found
Copilot session not found.
error_code error copilot, session, update, not-found
copilot_session_invalid_input
Cannot update action: ${session.id}
error_code error copilot, session, action, immutable
can_not_batch_grant_doc_owner_permissions
Can not batch grant doc owner permissions.
error_code error doc, permission, owner, batch
doc_is_not_public
Doc is not public.
error_code warning doc, publish, public, idempotent
New workspace owner must be an active member.
exception error workspace, permission, owner, transfer
Cannot grant Owner role of a workspace to a user.
exception error workspace, permission, owner, api-contract
Cannot remove the last active workspace owner.
exception error workspace, permissions, ownership, invariant
Cannot activate a missing workspace invitation.
exception error workspace, invitation, state-machine
can_not_batch_grant_doc_owner_permissions
Can not batch grant doc owner permissions.
error_code error doc, permissions, batch, ownership
Cannot remove the last doc owner grant.
exception error doc, permissions, ownership, invariant
wrong_sign_in_credentials
Wrong user email or password: ${email}
error_code error auth, signin, credentials
wrong_sign_in_method
You are trying to sign in by a different method than you signed up with.
error_code error auth, signin, oauth
email_already_used
This email has already been registered.
error_code error auth, signup, uniqueness, email
user_not_found
User not found.
error_code error auth, invitation, disabled-account
cannot_delete_account_with_owned_team_workspace
Cannot delete account. You are the owner of one or more team workspaces. Please
error_code error account, workspace, ownership, team
Invalid pagination cursor
http warning pagination, cursor, analytics, input-validation
bad_request
Invalid pagination cursor
exception warning pagination, cursor, analytics, input-validation
query_too_long
Query is too long, max length is ${max}.
exception warning analytics, input-validation, search
new_owner_is_not_active_member
Can not set a non-active member as owner.
exception error workspace, ownership, permissions, state-machine
missing_oauth_query_parameter
Missing query parameter `${name}`.
exception error oauth, calendar, nestjs, typescript, validation, http-400
unknown_oauth_provider
Unknown authentication provider ${name}.
exception error oauth, calendar, nestjs, typescript, provider-registry, http-400
ech_config_required
validation error rust, napi, tls, ech, safe-fetch, native, validation, network