You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a function that runs when signing up a user that extracts the metadata and then inserts some values into another table but the issue is inserting values from metadata for columns that require UUID is not possible as UUID is not serialisable in JSON. So I have to send the data as text but the issue is Postgresql throws error saying type expected is of UUID but text given.
Describe the bug
I have a function that runs when signing up a user that extracts the metadata and then inserts some values into another table but the issue is inserting values from metadata for columns that require UUID is not possible as UUID is not serialisable in JSON. So I have to send the data as text but the issue is Postgresql throws error saying type expected is of UUID but text given.
To Reproduce
organization_id column ideally requires UUID.
Error
column "organization_id" is of type uuid but expression is of type text
function:
handle_new_user
The text was updated successfully, but these errors were encountered: