---
title: "Discussion on \"Fix Supabase \"Database error saving new user\"\" | Hashnode"
description: "Discussion on \"Fix Supabase \"Database error saving new user\"\". Why sign-ups fail with a 500 in Lovable, Bolt and Vite apps: profiles triggers, security definer, search_path and constraints"
url: "https://hashnode.com/posts/supabase-database-error-saving-new-user/6af27ea65c861c53405ed98a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Fix Supabase "Database error saving new user"](https://stacksmesh.hashnode.dev/supabase-database-error-saving-new-user?utm_source=hashnode&utm_medium=feed)

Why sign-ups fail with a 500 in Lovable, Bolt and Vite apps: profiles triggers, security definer, search\_path and constraints

8h ago · 8 min read · stacksmesh.hashnode.dev  
Read the article

-   [#supabase](https://hashnode.com/tag/supabase)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#database](https://hashnode.com/tag/database)

## Written by

[Ahmed Hassan Yaseen](https://hashnode.com/@ahmedhassanyaseen)

@ahmedhassanyaseen

  
[View profile](https://hashnode.com/@ahmedhassanyaseen)

Founder of StacksMesh. I make AI-built apps production-ready.

Founder and CEO of StacksMesh (stacksmesh.com). We fix, launch and migrate apps built with Base44, Lovable, Bolt and Replit, with a fixed price in writing before any work. I write about making AI-built apps safe and production-ready.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
