I am lost on how to debug this
Feature(s) impacted
When I attempt to create a record using ForestAdmin, I get a non-descriptive 500 error. The record is part of this table (MySql 8):
CREATE TABLE stores(
id CHAR(36) NOT NULL PRIMARY KEY,
client_id CHAR(36) NOT NULL,
external_id VARCHAR(75) NOT NULL,
feature_id CHAR(36) NOT NULL,
UNIQUE KEY(client_id, external_id),
UNIQUE KEY(feature_id),
FOREIGN KEY(feature_id) REFERENCES features(id),
FOREIGN KEY(client_id) REFERENCES clients(id)
) CHARSET=UTF8MB4 ENGINE=INNODB;
Observed behavior
500 error when attempting to create
Expected behavior
Record is created successfully
Failure Logs
{name: "SequelizeDatabaseError", detail: "Unexpected error", status: 500}
Context
- Project name: Refinition
- Team name: Operations
- Environment name: ā¦
- Agent (forest package) name & version: MySQL
- Database type: MySQL
- Recent changes made on your end if any: ā¦