I had the same problem, I selected Supabase as my database on the previous chapter. I had to switch to Neon and it worked. It seems the code used in the tutorial to query the database doesn't work with Supabase.