Bug Description
Bug Description
The AI Assistant currently fails when a user submits a question and returns the following error:
Error: CSRF token missing or invalid.
Steps to Reproduce
- Open PrepPilot AI.
- Navigate to the AI Assistant.
- Enter a question such as:
what to study for sde?
- Submit the question.
Actual Behavior
The assistant does not return an AI-generated response and instead displays:
Error: CSRF token missing or invalid.
Expected Behavior
The AI Assistant should successfully process the user's question and return the generated response without a CSRF validation error.
Impact
This prevents users from using the AI Assistant for interview preparation.
Environment
- PrepPilot AI web application
- AI Assistant
Steps to Reproduce
- Open PrepPilot.
- Navigate to the DSA section.
- Open DSA Master Sheets.
- Click any sheet, such as Arrays Practice, GFG Must-Know DSA Sheet, Love Babbar DSA Sheet, NeetCode 150, or Striver SDE Sheet.
- Observe the result.
Expected Behavior
The selected DSA sheet should open normally and display its problems and content.
Actual Behavior
The application displays an error page:
Oops! Something Went Wrong
with the error:
Cannot access 'P' before initialization
The selected sheet does not load correctly.
Severity
High
Screenshots / Screen Recording
Browser
No response
Operating System
No response
Additional Context
No response
Bug Description
Bug Description
The AI Assistant currently fails when a user submits a question and returns the following error:
Steps to Reproduce
what to study for sde?Actual Behavior
The assistant does not return an AI-generated response and instead displays:
Error: CSRF token missing or invalid.Expected Behavior
The AI Assistant should successfully process the user's question and return the generated response without a CSRF validation error.
Impact
This prevents users from using the AI Assistant for interview preparation.
Environment
Steps to Reproduce
Expected Behavior
The selected DSA sheet should open normally and display its problems and content.
Actual Behavior
The application displays an error page:
Oops! Something Went Wrongwith the error:
Cannot access 'P' before initializationThe selected sheet does not load correctly.
Severity
High
Screenshots / Screen Recording
Browser
No response
Operating System
No response
Additional Context
No response