Hello, I'm getting malformed JSON responses when querying a specific page, https://barisabel.cdn.prismic.io/api/v2/documents/search?ref=YGH1SRAAACIAK-NL&q=[[at(document.type, "drinks")]] (this is the actual response, i.e. it is broken after the 'results' property):
This has occurred to people in other threads where they have links to documents that were removed, but this type doesn't have any links, just slices of text-based content.
Requesting data for other content types works. This content is fetched properly when viewing it in your API browser under the HTML format but displays an error when viewing it in the JSON format.
I'm using Nuxt.js but I've isolated this issue to something on your end or with my content (e.g., bad characters somewhere?) so I've posted it in the REST API forum -- I'm wondering if your team might have any ideas what is going on?
Welcome to the Prismic community.
This might be caused by some special character breaking the JSON construction in our backend as you said.
I have been able to reproduce the issue and I will create an issue in our tracker to have somebody from our dev team to work on it, and we will let you know once we get some info.
This seemed to have resolved itself a few weeks ago, but I'm encountering the same issue again and I can't publish updates to my site. Has your dev team been able to track down what might be occurring?
My newly created repository (using Slice Machine, no broken links) is having the same problem. The repository is system76 and the exact URL that is causing the problem is: