mckaywrigley / chatbot-ui

AI chat for every model.
https://chatbotui.com
MIT License
28.01k stars 7.8k forks source link

Error: JSON object requested, multiple (or no) rows returned #1775

Open tomwarias opened 2 months ago

tomwarias commented 2 months ago

It launch first time, but second and further down the line i get this error. I have reinstalled everything that is connected to this including docker, changed project_id etc. and I get(ps. it is not fault of next.js i have tried that) Zrzut ekranu 2024-06-3 o 03 02 31

ndroo commented 2 months ago

I was working on a SSO integration, unrelated to this, but i ran into this issue when my Supabase cookie wasnt set correctly after login. This leads me to think the issue is 1 of 2 things:

  1. Your use was never created
  2. Your user was created, but when the workspace lookup occurs, it cant find your user.

It could be unrelated, but maybe this sends you down a helpful debug path.

fidaak commented 1 month ago

I have similar problem, I did clean reinstall of local supabase, deleted all its volumes. Deleted tehe local chatbotui repo, started everything anew.

I followed the Local Quickstart section and when I try to run the app first time, after I click "Start Chatting", I get this: image