Bolt.New X Supabase API error 400: Database Action Fail

I recieved this error message on Bolt.New: Supabase API error, 400, Failed to run sql query: ERROR: 42883: function auth.config_set(unknown, unknown) does not exist HINT: No function matches the given name and argument types. You might need to add explicit type casts. QUERY: SELECT auth.config_set('mailer.templates.confirm_signup.subject', NULL) CONTEXT: PL/pgSQL function inline_code_block line 4 at PERFORM
5 Replies
garyaustin
garyaustin8mo ago
Did you create a function in the auth schema called config_set()? There is no built in function by that name.
Laura | Kinnd 🪐
Laura | Kinnd 🪐OP8mo ago
How do you create a function in the auth schema
garyaustin
garyaustin8mo ago
You have to use the SQL editor. Is there a particular reason you want to do that? What is the function supposed to do? Or maybe Bolt can do it, I've not used it.
Laura | Kinnd 🪐
Laura | Kinnd 🪐OP8mo ago
Thank you for your help! I was trying to setup email authenticaiton And the error showed up
garyaustin
garyaustin8mo ago
I think their AI is hallucinating... It appears to be wanting to setup an email template for auth. Neither of those appear to be valid things. That may be possible, but I don't think that is the way it can be done.
No description
No description

Did you find this page helpful?