Hey all, new to Supabase and Postgres. When trying...
# help
g
Hey all, new to Supabase and Postgres. When trying to invite a user via the UI I now receive a
Failed to invite user: Database error saving new user
and 500 error in the logs. This is after adding a trigger to update my profiles table from user auth additions. I see it is a common error from a search, but I'm not sure what the solution for me is. Any suggestions?
n
Hello @gehrig! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
g
Fwiw, this was after following Jon's very nicely done video.

https://www.youtube.com/watch?v=0N6M5BBe9AE

s
It means your trigger is storing additional information which isn’t provided on invite. The UI invite feature won’t allow you to add the additional information so this won’t work.
n
gehrig (2022-04-24)
g
Odd. After playing around (deleting and re-adding) it is now working. The trigger is only taking the auto generated user ID and adding to the public profiles table.
n
Thread was archived by @gehrig. Anyone can send a message to unarchive it.
2 Views