ErrLookup › sequelize/sequelize
sequelize/sequelize
Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB, DB2 and DB2 for IBM i. · TypeScript · 367 source files
Analyzed at 7e1deec499 on 2026-08-03. 446 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| " needs to define` : `You are trying to define`} the… | exception | error | associations, duplicate, options, sequelize-core |
| BelongsToMany: Option "through.unique" can only be used if… | exception | error | belongs-to-many, through, unique-constraint, primary-key, join-table |
| startTransactionQuery is not supported by the | exception | error | dialect, transactions, mssql, db2, ibmi, query-generator |
| Fields must be specified through options.fields | exception | error | sequelize, sqlite, validation, schema, constraints |
| Validations already in progress. | exception | error | validation, concurrency, internal |
| Unknown constraint error | exception | error | postgres, constraints, indexes, migrations |
| Invalid validator function | exception | error | validation, schema, config |
| This DataType is already attached to | exception | error | data-types, instance-reuse, model-definition, sequelize-v7 |
| BelongsToMany associations automatically create the… | exception | error | associations, belongs-to-many, inverse, v7, migration, association-error |
| Could not parse constraints from SQL | exception | error | sequelize, sqlite, constraints, parser, introspection, regex |
| GeoJSON Point object | exception | error | geojson, validation, spatial, sequelize, geometry |
| Models that use @HasOne, @HasMany, or @BelongsToMany… | exception | error | decorators, associations, inheritance, foreign-key, legacy-decorators |
| Naming collision between attribute | exception | error | associations, naming, attributes, sequelize-core |
| Decorator @ requires an argument (used on ) | exception | error | decorators, api-misuse, arguments, legacy-decorators |
| addColumn takes at least 3 arguments (table, attribute… | exception | error | query-interface, migration, addcolumn, validation, arguments |
| Model has a composite primary key. Please pass all primary… | exception | error | composite-key, primary-key, findbypk, typescript, api-misuse |
| Models that use @BelongsTo associations with the "inverse"… | exception | error | decorators, associations, inheritance, inverse, legacy-decorators |
| Attribute " . " must be specified as a plain object. | exception | error | model-definition, attributes, init, configuration |
| The index hint type " " is invalid or not supported by… | exception | error | index-hints, mysql, mariadb, snowflake, query-generator, api-misuse |
| Decorator @ has been used on , which is static. This… | exception | error | decorators, static-vs-instance, api-misuse, legacy-decorators |
| sequelize.transaction requires a callback. If you wish to… | exception | error | transactions, api-migration, v6-to-v7 |
| You have defined two associations with the same name | exception | error | associations, naming, duplicate, sequelize-core |
| Requested isolation level | exception | error | transaction, nesting, isolation-level |
| Attempted to insert the JavaScript null into a JSON column… | exception | error | oracle, json, null, data-types, config |
| Trying to soft delete model | exception | error | paranoid, cascade, associations, foreign-key, referential-integrity |
| literal() cannot be used in the "returning" option array in | exception | error | mssql, returning, query-generator, dialect-specific |
| formatUnquoteJson has not been implemented in | exception | error | json, dialect-author, not-implemented, query-generator |
| Decorator @ has been used on , which is an instance… | exception | error | decorators, static-vs-instance, api-misuse, legacy-decorators |
| Sequelize#truncate: Some of your models have cyclic… | exception | error | truncate, foreign-keys, cyclic-dependencies, schema |
| Failed to resolve dialect from | exception | error | cli, config, dialect, dynamic-import |
| Unknown sequelize method | exception | error | sql-expression, query-generator, subclassing, version-mismatch |
| GeoJSON object has an invalid or missing "type" property… | exception | error | geo, geojson, gis, validation, security |
| " needs to create the association " " from to , but it… | exception | error | associations, error-wrapping, options, sequelize-core |
| An attribute called 'id' was defined in model | exception | error | schema, primary-key, config |
| Options "onDelete" and "onUpdate" have been moved to… | exception | error | associations, options, migration, sequelize-core |
| Sequelize is trying to add the timestamp attribute | exception | error | version, optimistic-locking, schema, config |
| Cyclic dependency found. | exception | error | sync, circular-dependency, foreign-key, toposort, schema |
| ${message} | validation | error | validation, data-types, runtime |
| Validation Error | exception | error | validation, save, create, bulkcreate |
| Decorator @ has been used on , which is a symbol field… | exception | error | decorators, attributes, typescript, symbols |
| Foreign key on already references , but this association… | exception | error | belongs-to, foreign-key, references, conflict, schema |
| Invalid input received, got | exception | error | query-generator, validation, models, input-validation |
| An error occurred for attribute | exception | error | schema, config, data-types |
| does not support toggling foreign key checks | exception | error | foreign-keys, dialect-support, query-interface, postgres, mssql, query-generator |
| Multiple decorators are trying to register conflicting… | exception | error | decorators, model-options, configuration, conflict |
| #findOrCreate: value used for was not equal for both the… | exception | error | findorcreate, unique-constraint, data-integrity, race-condition |
| getDatabaseName has been removed as it does not make sense… | exception | error | removed-api, v6-to-v7, dialect |
| Unable to rollback a transaction without the transaction… | exception | error | ibmi, transaction, argument-validation |
| "undefined" cannot be escaped | exception | error | escaping, undefined, typeerror, where-clause, input-validation |
| You cannot specify both the "pgModule" option and the… | exception | error | postgres, configuration, connection, native |
| .rawAttributes has been removed, as it has been split in… | exception | error | deprecation, attributes, model-definition, migration, v7 |
| For an auto-increment column either all row must be null or… | exception | error | insert, oracle, autoincrement, bulk |
| Decorator @ has been used on , which is not a method. This… | exception | error | decorators, hooks, typescript, configuration |
| Invalid namespace separator given, must be a non-empty… | exception | warning | validation, error-reporting, configuration |
| Cannot set both 'insertBefore' and 'insertAfter' to true on… | exception | error | decorators, attributes, inheritance, options, legacy-decorators |
| You must specify either options.transaction or… | exception | error | session-variables, connection-management, transactions, mysql |
| Symbol associations are not currently supported. We welcome… | exception | error | decorators, associations, symbols, legacy-decorators |
| The "save: false" option cannot be honoured in | exception | error | has-one, save-option, set-association, foreign-key, validation |
| Attempting to update a stale model instance | exception | error | optimistic-locking, concurrency, save, version, race-condition |
| No description found for table | exception | error | describe-table, case-sensitive, schema, query-interface |
| Could not guess type of value | exception | error | sql, data-type, query, validation |
| Model must be defined (through Model.init or… | exception | error | associations, model-init, lifecycle, sequelize-core |
| If specified, the "length" option must be one of | exception | error | data-types, text, mysql, validation, constructor |
| Unable to find constraints for table. Perhaps the table… | exception | error | sequelize, sqlite, schema, runtime, constraints |
| Sequelize is trying to add the version attribute | exception | error | version, optimistic-locking, schema, config |
| DataTypes.ENUM has been constructed incorrectly: When… | exception | error | data-types, enum, typescript, string-enum, constructor |
| Sequelize could not parse range "%O" as its format is… | exception | error | postgres, range, type-parsing, custom-types |
| .belongsToMany( ) requires a through model, set the… | exception | error | belongs-to-many, through, required-option, join-table |
| Sequelize#rawQuery does not accept the "replacements"… | exception | error | queryraw, replacements, bind-parameters, api-migration |
| Model.init cannot be used if the model uses one of… | exception | error | decorators, model-init, configuration, migration |
| You are using mismatching "transaction" and "connection"… | exception | error | transaction, connection, options, cls |
| The method " " is not defined! Please add it to your sql… | exception | error | mssql, query-generator, dialect, internal, not-implemented |
| The following literal includes positional replacements… | exception | error | sql-literal, replacements, validation, query |
| Unable to commit a transaction without the transaction… | exception | error | mssql, transaction, commit |
| Decorator @ has been used on " . ", but method already… | exception | error | decorators, hooks, naming-conflict, configuration |
| Support for ` ` has been removed. Use ` ` instead | exception | error | where, migration, v7, breaking-change, raw-sql, literal |
| Unknown index collation | exception | error | mariadb, indexes, schema-introspection, driver-compat |
| Constraint on table does not exist | exception | error | sequelize, sqlite, constraints, runtime, schema |
| Could not parse URL search parameter | exception | error | connection, url, config, parsing, validation |
| Model._indexes has been replaced with Model.getIndexes() | exception | error | deprecation, index, internals, migration, v7 |
| Decorator @ has been used on , but class " " does not… | exception | error | decorators, model, api-misuse, legacy-decorators |
| Invalid Include received: the specified association | exception | error | associations, include, eager-loading, multi-model, api-misuse |
| Invalid session variable name | exception | error | session-variables, validation, mysql, mariadb, naming |
| declares supporting schema but listSchemasQuery is not… | exception | error | dialect-capability, schema, dialect-authoring, not-implemented |
| JavaScript is not supported by the | exception | error | sql, expression-builders, functions, javascript |
| The field.attribute property has been removed. Use the… | exception | error | api-migration, constraints, sequelize-core, schema |
| The DataType requires that the "precision" option be… | exception | error | data-types, decimal, precision, scale, validation |
| This function can only clone plain objects, arrays and… | exception | error | utils, clone, validation, types |
| Unknown association type | exception | error | decorators, associations, internal-invariant, legacy-decorators |
| Unquoting JSON is not supported by | exception | error | json, dialect-support, sqlite, db2, ibmi, snowflake, query-generator |
| Both options "as" and "inverse.as" must be defined for… | exception | error | has-one, self-association, inverse, alias, belongs-to |
| new ModelDefinition() expects a Sequelize instance to be… | exception | error | config, initialization, sequelize-instance |
| Sequelize could not parse range | exception | error | postgres, range, data-types, type-parsing |
| setIsolationLevelQuery is not supported by the | exception | error | dialect-capability, transactions, isolation-level, mssql, db2, ibmi |
| Instance could not be reloaded because it does not exist… | exception | error | model, instance, reload, concurrency, database |
| Option "keyType" has been removed from the BelongsTo's… | exception | error | has-many, key-type, removed-option, migration, foreign-key |
| Invalid Include received. Include has to be either a Model… | exception | error | includes, eager-loading, association, query |
| MSSQL doesn't allow for inserting more than 1,000 rows at a… | exception | error | mssql, bulk-insert, transaction, row-limit |
| UUID V1 generation is not supported by | exception | error | uuid, dialect-support, uuid-v1, defaults, query-generator |
| Validation encountered an unexpected error while validating… | exception | error | core, data-types, validation, custom-dialect |