anis-marrouchi / chatpdf-gpt

ChatPDF-GPT is an innovative chat interface application powered by LangChain and OpenAI, allowing users to upload and chat with PDF documents, stored in Pinecone vector database and Supabase storage.
https://chatpdf-gpt.vercel.app/
MIT License
166 stars 35 forks source link

Upload to Supabase seems to fail #3

Open andreasplimpton opened 1 year ago

andreasplimpton commented 1 year ago

Console log shows [Log] {statusCode: "401", error: "Invalid JWT", message: "new row violates row-level security policy for table \"objects\""}

hogking commented 1 year ago

It seems like you should configure the policy in [Supabase -> Storage -> Configuration -> Policies] and add new policy