Wrong query formation
This is the failed query.
I'm not sure why the
db.from("workspaces").select().limit(1).eq("teamId", "<teamId>").single();I'm not sure why the
&teamId query is repeated so much. The teamId are different.