Single query cannot be filter by UUID

Im trying to query a single item from supabase using my dynamic page path value as a filter conditional, even if my uiid show as a text, it does not work..

Hello @jefeOliveira

That error is coming from Supabase/Postgres. It means the query is trying to use a value (“9”) where a UUID is expected — and “9” is not a valid UUID format.

I recommend checking your table schema in Supabase to confirm the data type for the _ID field. If it’s a UUID, you’ll need to provide a properly formatted UUID (e.g. 550e8400-e29b-41d4-a716-446655440000). If the field is actually an integer or string, you might need to adjust the column type or query.

1 Like