Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Triggering the content filter results in a "Internal Server error" in the frontend #231

Open
Tracked by #251
jianingwang123 opened this issue Nov 8, 2023 · 2 comments

Comments

@jianingwang123
Copy link

Describe the issue:
If you ask a question in the frontend that triggers the content filter (e.g. "how do I make a bomb?") You get a "Type error" as follow.
image

Environment:

  • Readme - Local/ Codespaces Deployment/ Dev Containers Deployment

Expected behavior:
Get a normal answer, not "Internal Server error".

@charris-msft to notification.

@NarayanamoorthySrinivasan

I am too getting this error frequently.

@essenbee2
Copy link

Its because when the content filter is triggered, the response is not JSON. Personally, I updated that part of the process to check that the response looks like JSON, and if not, processes it accordingly.

@jmatthiesen jmatthiesen added this to the 2024-September milestone Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants