clockworklabs/SpacetimeDB
Documented errors, page 5 of 6. Back to clockworklabs/SpacetimeDB
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| repo : segment already exists and is non-empty | exception | error | rust, commitlog, filesystem, segments, already-exists |
| Cannot read environment schema: HTTP | http | error | http, environment, cli, server-response |
| Cannot extract table name from query | validation | error | spacetimedb, cli, uninstall, version-management |
| Error fetching public key for issuer | validation | error | auth, oidc, jwks, network, server |
| Token does not look like a JSON web token | validation | error | auth, jwt, token, cli |
| views must be `public`, e.g. `#[view(public)]` | exception | error | rust, proc-macro, spacetimedb, view, compile-time |
| Local module schema inspection failed | validation | error | rust, cli, subprocess, wasm |
| randomBytes must be exactly 4 bytes | exception | error | csharp, spacetimedb, uuid, uuidv7, bytemanipulation |
| AddColumns: table ` ` not found in new module def | exception | error | spacetimedb, rust, schema-migration, add-column, publish, table-rename |
| AddSequence: ` ` not found in new module def | exception | error | spacetimedb, rust, schema-migration, sequence, auto-increment, publish |
| AddTable: table ` ` not found in new module def | exception | error | rust, spacetimedb, migration, table, internal-invariant |
| adding non-unique constraints is not supported | validation | error | spacetimedb, datastore, constraint, unique, unsupported-feature |
| Failed to read value from the | exception | error | rust, spacetimedb, sql, system-table, row-level-security, schema |
| Invalid environment read response | validation | error | cli, json, spacetimedb, response-parsing |
| Local module schema validation failed | error_code | error | schema, validation, module, rust |
| Server already configured for host | validation | error | cli, config, server, duplicate-entry |
| Unknown client language | validation | error | cli, init, arguments, language, validation |
| Could not find SpacetimeDB client! Did you forget to add a… | exception | error | react, context, hooks, typescript |
| could not serialize result: object had neither a `ok` nor… | validation | error | spacetimedb, cli, install, edition, unsupported-flag |
| Local module inspection thread failed | error_code | error | cli, threading, panic, rust |
| When providing a name, you must also provide the object. | validation | error | spacetimedb, proc-macro, index, unique-constraint, table, compile-time |
| Cannot use generate-entry-specific arguments | validation | error | cli, generate, multi-target, bindings, spacetime-json |
| Database ` ` does not exist | exception | error | standalone, database-not-found, publish, migrate |
| Pre-publish check failed with status | http | error | publish, http, server-error, pre-publish-check, version-skew |
| Delete for non-existent row when replaying transaction | exception | critical | rust, spacetimedb, replay, delete, commitlog, corruption |
| environment value does not match its declared enum | panic | critical | environment, rust, macro, panic, enum |
| Failed to determine TableId for query | validation | error | subscription, query, table-id, projection |
| Table does not exist | exception | error | table, cache, registration, typescript |
| Failed to get table with name | panic | error | rust, module, table, schema-mismatch, bindings |
| Reducer ` ` not found | exception | error | reducer, scheduling, name-lookup, scheduler |
| Error while reading : expected source span to be bytes… | exception | error | csharp, spacetimedb, bsatn, interop, bytemanipulation |
| Subject too long | validation | error | spacetimedb, auth, jwt, identity, claims-validation |
| Cannot semijoin a table to itself | validation | error | spacetimedb, cli, uninstall, symlink, guard |
| Module inspection cancelled | error_code | warning | cancellation, async, tokio, rust |
| Invalid environment declaration name | validation | error | environment, naming, validation, typescript |
| Project initialization did not create spacetimedb directory | exception | error | cli, dev, init, filesystem |
| found is_anonymous= in st_view, but in module when updating… | exception | error | view, anonymous, metadata, module-update |
| Invalid protocol | validation | error | url-parsing, validation, cli |
| rustfmt is not installed. Please install it. | exception | error | rust, toolchain, rustfmt, codegen, environment-setup |
| Uint8Array is not 16 bytes long | validation | error | spacetimedb, proc-macro, index, column, compile-time |
| view does not have a backing table | exception | error | view, system-table, metadata, refresh, internal |
| Invalid environment key name | validation | error | cli, validation, sql, environment |
| Invalid JSON5 configuration | validation | error | config, json5, parse-error |
| Invalid url | validation | error | url-parsing, validation, cli |
| must export schema as default export | exception | error | javascript, module, default-export, v8, publish |
| For some reason, your project has both a `bin` and a `bin~`… | exception | error | csharp, build-artifacts, bin-directory, conflict |
| Invalid .csproj file: missing </Project> tag | exception | error | spacetime-init, native-aot, csharp, csproj, malformed-xml |
| Subscriptions must have at least one query | validation | error | subscription, query, typescript, argument-validation |
| uuid counter must be non-negative | exception | error | csharp, spacetimedb, uuid, uuidv7, state |
| Adding schedules is not yet implemented | validation | error | migration, schedules, scheduled-reducers, not-implemented, auto-migrate |
| Cannot serialize a null string as BSATN String. To… | exception | error | csharp, spacetimedb, bsatn, null, serialization |
| Discovered cyclic dependency when resolving RLS rules for… | validation | error | rls, row-level-security, cyclic-dependency, recursion, schema |
| Cannot continue without a module path. | validation | error | cli, dev, module-path, interactive |
| Cannot remove table ` `: table contains data. Clear the… | validation | error | migration, schema, auto-migrate, database, data-loss-prevention |
| `emcc` not found in PATH. Activate Emscripten (emsdk_env). | exception | error | build, cpp, wasm, emscripten, environment |
| `--module-path`, `--project-path`, and… | exception | error | cli, dev, generate, spacetime-json, paths |
| Removing schedules is not yet implemented | validation | error | migration, schedules, scheduled-reducers, not-implemented, auto-migrate |
| ChangePrimaryKey: table | exception | error | spacetimedb, rust, schema-migration, primary-key, publish |
| Permission denied publishing environment values | error_code | error | cli, permissions, publish, environment |
| view definition cannot read from other views | validation | error | sql, views, schema, materialization |
| Environment read value exceeds limit | validation | error | cli, spacetimedb, limits, environment |
| Invalid repository format. Use 'owner/repo' or full git… | validation | error | spacetime-init, template, git, cli, argument-validation |
| Invalid sequence: increment must be non-zero | panic | error | sql, sequence, ddl, schema-validation, spacetimedb |
| RemoveIndex: ` ` not found in old module def | exception | error | rust, spacetimedb, migration, index, internal-invariant |
| Server template not found | exception | error | spacetime-init, template, embedded-assets, cli, module |
| Environment key count exceeds limit | validation | error | cli, spacetimedb, limits, environment |
| Environment key : config input must be a string, boolean or… | validation | error | environment, config, validation |
| Unsupported UUID version | exception | error | uuid, typescript, version-mismatch |
| Aborting because major version upgrade was not accepted. | exception | warning | spacetime-publish, confirmation, major-upgrade, cli, data-loss |
| Environment publish failed with HTTP | http | error | http, environment, publish, server-response |
| Nickname conflicts with saved configuration for server : :// | validation | error | cli, config, server, nickname, conflict |
| Environment ' ' needs a nonempty literal union | validation | error | environment, enum, validation, typescript |
| IndexId ` ` does not exist | exception | error | rust, spacetimedb, datastore, index-id, index-scan |
| segment header does not start with magic: expected | exception | error | rust, commitlog, magic-number, invalid-data, corruption |
| Too many positional arguments for interactive mode. Usage… | validation | error | sql, cli, usage, interactive, arguments |
| Invalid describe arguments.\nUsage: spacetime describe… | validation | error | cli, usage, arguments, describe |
| Subscription has already ended | exception | error | subscription, lifecycle, typescript, state-management |
| Value is out of range for enum | exception | error | csharp, spacetimedb, bsatn, serialization, enum |
| `emcmake` not found in PATH. Is Emscripten env active? | exception | error | build, cpp, emscripten, cmake, environment |
| Not in a SpacetimeDB project directory | exception | error | cli, dev, project, cwd |
| --dotnet-version is only supported for C# projects (--lang… | validation | error | spacetime-init, cli, argument-validation, dotnet, csharp |
| mismatched database identity | exception | critical | rust, spacetimedb, database, identity, data-integrity, startup |
| Environment key is both supplied and removed | validation | error | cli, environment, conflicting-input, validation |
| Invalid configuration structure | validation | error | config, serde, validation |
| SQL query exceeds maximum allowed length: \ | validation | error | sql, subscription, query-limits, input-validation |
| Invalid number of tables in subscription | validation | error | subscription, join, query-limits |
| Uint8Array is not 32 bytes long | validation | error | spacetimedb, proc-macro, table, struct, compile-time |
| RemoveView: view ` ` not found in database | exception | error | rust, spacetimedb, migration, view, schema-drift |
| Cannot create new SpacetimeDB project in non-empty directory | validation | error | spacetime-init, filesystem, cli, scaffolding |
| Database name or address is required to connect to… | validation | error | connection, configuration, builder, typescript |
| Host conflicts with saved configuration for server : :// | validation | error | cli, config, server, host, conflict |
| Invalid numeric configuration input | validation | error | config, numbers, parse-error |
| Invalid entity_type ' '. Expected one of: reducer, table. | validation | error | cli, usage, validation, describe |
| Argument must be a I256 | exception | error | csharp, spacetimedb, bsatn, int256, icomparable |
| AddIndex: ` ` not found in new module def | exception | error | rust, spacetimedb, migration, index, internal-invariant |
| default export is not a Schema object | exception | error | javascript, schema, default-export, v2-abi, v8 |
| Invalid environment read result count | validation | error | cli, spacetimedb, response-parsing, protocol |
| Environment values can only be changed by publishing | validation | error | cli, environment, unsupported-operation |
| Manual migration plans are not yet supported for pretty… | exception | error | migration, manual-migration, pretty-print, cli |
| Module bindings path must be a relative path | validation | error | cli, path, filesystem, dev, validation |