Object.defineProperty called on non-object #3289
Replies: 2 comments
-
There should be more information available somewhere, like the stack trace logged in the console. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I created a hook and forced to update the id field with context.arguments[0].id = uuidv4() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I created a MySQL table where the ID is a varchar(50) and there is a before insert trigger that update the field with UUID() data.
The POST works correctly inserting the data into the table but the return to the client is an error message:
{
"message": "Object.defineProperty called on non-object"
}
Any ideas?
Version: 5.0.9
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions