Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "error": {
- "name": "SequelizeUniqueConstraintError",
- "errors": [
- {
- "message": "name_UNIQUE must be unique",
- "type": "unique violation",
- "path": "name_UNIQUE",
- "value": "Silly Sally Almondo",
- "origin": "DB",
- "instance": {
- "id": null,
- "name": "Silly Sally Almondo",
- "description": "Cheese and potato pie",
- "icon": "SomethingForNow",
- "nameSlug": "silly-sally-almondo"
- },
- "validatorKey": "not_unique",
- "validatorName": null,
- "validatorArgs": []
- }
- ],
- "fields": {
- "name_UNIQUE": "Silly Sally Almondo"
- },
- "parent": {
- "code": "ER_DUP_ENTRY",
- "errno": 1062,
- "sqlState": "23000",
- "sqlMessage": "Duplicate entry 'Silly Sally Almondo' for key 'name_UNIQUE'",
- "sql": "INSERT INTO `organisations` (`id`,`name`,`description`,`icon`,`nameSlug`) VALUES (DEFAULT,'Silly Sally Almondo','Cheese and potato pie','SomethingForNow','silly-sally-almondo');"
- },
- "original": {
- "code": "ER_DUP_ENTRY",
- "errno": 1062,
- "sqlState": "23000",
- "sqlMessage": "Duplicate entry 'Silly Sally Almondo' for key 'name_UNIQUE'",
- "sql": "INSERT INTO `organisations` (`id`,`name`,`description`,`icon`,`nameSlug`) VALUES (DEFAULT,'Silly Sally Almondo','Cheese and potato pie','SomethingForNow','silly-sally-almondo');"
- },
- "sql": "INSERT INTO `organisations` (`id`,`name`,`description`,`icon`,`nameSlug`) VALUES (DEFAULT,'Silly Sally Almondo','Cheese and potato pie','SomethingForNow','silly-sally-almondo');"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement