LAION-AI / LAION-AI/Open-Assistant
Application error: a client-side exception has occurred (see the browser console for more information). Please help. I got this error on my chrome, Brave and edge browser.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 37.4k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
Failed to load resource: the server responded with a status of 422 ()
framework-2fe4cb6473b20297.js:9 Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bloc%2C%20msg%2C%20type%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at l0 (framework-2fe4cb6473b20297.js:9:54223)
at d (framework-2fe4cb6473b20297.js:9:56028)
at framework-2fe4cb6473b20297.js:9:58168
at o (framework-2fe4cb6473b20297.js:9:58459)
at uo (framework-2fe4cb6473b20297.js:9:71134)
at i (framework-2fe4cb6473b20297.js:9:121296)
at oD (framework-2fe4cb6473b20297.js:9:99116)
at framework-2fe4cb6473b20297.js:9:98983
at oO (framework-2fe4cb6473b20297.js:9:98990)
at oE (framework-2fe4cb6473b20297.js:9:95742)
a9 @ framework-2fe4cb6473b20297.js:9
main-5263bf0fcb6e6b4e.js:1 Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bloc%2C%20msg%2C%20type%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at l0 (framework-2fe4cb6473b20297.js:9:54223)
at d (framework-2fe4cb6473b20297.js:9:56028)
at framework-2fe4cb6473b20297.js:9:58168
at o (framework-2fe4cb6473b20297.js:9:58459)
at uo (framework-2fe4cb6473b20297.js:9:71134)
at i (framework-2fe4cb6473b20297.js:9:121296)
at oD (framework-2fe4cb6473b20297.js:9:99116)
at framework-2fe4cb6473b20297.js:9:98983
at oO (framework-2fe4cb6473b20297.js:9:98990)
at oE (framework-2fe4cb6473b20297.js:9:95742)
X @ main-5263bf0fcb6e6b4e.js:1
main-5263bf0fcb6e6b4e.js:1 A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
X @ main-5263bf0fcb6e6b4e.js:1
/api/chat/assistant_message:1
Failed to load resource: the server responded with a status of 422 ()
framework-2fe4cb6473b20297.js:9 Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bloc%2C%20msg%2C%20type%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at l0 (framework-2fe4cb6473b20297.js:9:54223)
at d (framework-2fe4cb6473b20297.js:9:56028)
at framework-2fe4cb6473b20297.js:9:58168
at o (framework-2fe4cb6473b20297.js:9:58459)
at uo (framework-2fe4cb6473b20297.js:9:71134)
at i (framework-2fe4cb6473b20297.js:9:121296)
at oD (framework-2fe4cb6473b20297.js:9:99116)
at framework-2fe4cb6473b20297.js:9:98983
at oO (framework-2fe4cb6473b20297.js:9:98990)
at oE (framework-2fe4cb6473b20297.js:9:95742)
a9 @ framework-2fe4cb6473b20297.js:9
main-5263bf0fcb6e6b4e.js:1 Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bloc%2C%20msg%2C%20type%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at l0 (framework-2fe4cb6473b20297.js:9:54223)
at d (framework-2fe4cb6473b20297.js:9:56028)
at framework-2fe4cb6473b20297.js:9:58168
at o (framework-2fe4cb6473b20297.js:9:58459)
at uo (framework-2fe4cb6473b20297.js:9:71134)
at i (framework-2fe4cb6473b20297.js:9:121296)
at oD (framework-2fe4cb6473b20297.js:9:99116)
at framework-2fe4cb6473b20297.js:9:98983
at oO (framework-2fe4cb6473b20297.js:9:98990)
at oE (framework-2fe4cb6473b20297.js:9:95742)
X @ main-5263bf0fcb6e6b4e.js:1
main-5263bf0fcb6e6b4e.js:1 A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure in a Chromium browser and inspect the browser console, focusing on the /api/chat/assistant_message request that returns status 422. Trace how its response is rendered by the client and compare the response shape with the React error showing keys loc, msg, and type. Done means the request no longer causes the client-side exception and the chat response renders successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, python, react
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100