Error on ask.discourse.com: SyntaxError: Unexpected end of JSON input

Hey folks,

For the last 2-3 days, I keep encountering the same error message on ask.discourse.com:

SyntaxError: Unexpected end of JSON input

3 Likes

Hmm… don’t seem to be seeing that:

Is there a specific question that you are using? Or is it across all questions/inputs?

1 Like

Thanks for reporting @jrgong - I can repro this too and generate errors in the log. We’re having a look. :eyes:

4 Likes

I suspect this is rate limiting or some error with embedding backfilling, cause when I try to parse search results I get invalid json from a json API.

I put a safeguard in place.

We can later search our AI logs for “Failed to search” to see if it is still happening @Falco and I guess push the result.body somewhere.

So the errors should be gone now, but if search is failing hallucinations will go up.

Had trouble reproing this so I suspect there is an edge case with our new embeddings.