Comments (2)
Hey there, @Croccodoyle! Great to see you diving into the depths of quivr again. What's cooking in your Brain kitchen today? 🧠🍳
Based on the error logs you've provided, it seems like there might be an issue with the server's authorization process. The 403 (Forbidden) status code typically indicates that the server understands the request but refuses to authorize it. This could be due to a few reasons:
-
Authentication/Authorization Issue: The user account used for login might not have the correct roles or permissions, or the login process did not complete successfully. This could be due to changes in the authentication flow or issues with session management.
-
Frontend-Backend Contract Violation: If there have been recent changes to the backend API that the frontend relies on (for example, changes in the API endpoint, request payload, or required headers for the "add brain" functionality), and the frontend has not been updated accordingly, this could lead to a 403 response.
-
CORS Policy: While less likely to directly cause a 403 error, if there are Cross-Origin Resource Sharing (CORS) policy misconfigurations, it could potentially lead to issues with requests being blocked or failing in unexpected ways.
-
Browser-Specific Issues: Since you mentioned this issue occurs on both Chrome and Safari, it's less likely to be a browser-specific issue and more likely related to the application's code or server configuration.
Given the context and the nature of the error, the first step should be to verify the user's permissions and ensure that the login process is completing successfully with the correct session information. Following that, reviewing any recent changes to the backend API and ensuring the frontend is aligned with those changes would be crucial. Lastly, checking the browser console for additional errors and reviewing the network requests for failed requests can provide more insight into the issue.
As for the expected behavior of the "Add New Brain" functionality, it should present the user with a form to input a "Brain name" and "Description", set the visibility of the brain to either "Private" or "Public", and provide confirmation messages upon successful creation or error during the creation process. It also allows for the configuration of brain parameters, inviting new users to the brain, and managing the brain's visibility status. This is based on the localization keys and values provided in the frontend/public/locales/en/brain.json
file.
I hope this helps in identifying the potential causes of the issue. If you need further assistance, please provide more details about the steps you took before encountering the error, any changes made to the codebase or server configuration, and any additional error messages or logs.
Sources
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
from quivr.
Related Issues (20)
- [Bug]: Unable to chat with newly created brain HOT 4
- spaces removed whilst typing a question[Bug]: HOT 2
- [Bug]: Unable to perform a search with ollama/mistral HOT 1
- [Bug]: I got error on CMD Windows after docker compose up HOT 2
- [Feature]: Ethics & Transparency HOT 1
- [Bug]: I did not run out of space but getting no space left error HOT 1
- [Bug]: Question handler API call does not work as documented HOT 1
- [Bug]: Unrelated results being passed to LLM on query HOT 5
- [Feature]: Is it possible to change the name of the ai models? HOT 2
- [Bug]: backend HOT 1
- [Bug]: Giving Mix and Fall Responses HOT 4
- [Bug]: local supabase db reset ,after create a new user,Failed to create user: An error has occurred: Failed to fetch HOT 7
- [Feature]: On-Demand Ollama Service Initialization HOT 1
- [Bug]: Knowledge not being returned from brain in latest release HOT 1
- [Bug]: No "create brain" options when running on WSL HOT 5
- [Bug]: Error occurred while fetching your chats HOT 1
- [Feature]: Support of bibliography ".bib" and LaTeX ".tex" HOT 5
- [Bug]: cannot create the brain HOT 3
- Suggestion Withdrawn HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quivr.