Page MenuHomePhabricator

WDQS gives "Server error: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data"
Closed, DeclinedPublicBUG REPORT

Description

I get an error when submitting the following query, which works with "limit 200".

SELECT DISTINCT ?item ?url WHERE {
  ?item ?prop ?claim.
  ?claim prov:wasDerivedFrom [ pr:P854 ?url]
FILTER (regex(STR(?url),"(\\?|&)(fbclid|gclid|utm_source|utm_medium|utm_campaign|utm_term|utm_content)"))} limit 500

Screenshot 2022-06-03 at 13-01-03 Wikidata Query Service.png (534×1 px, 76 KB)

Event Timeline

What do you see in your browser console, specifically the Network tab?

What do you see in your browser console, specifically the Network tab?

The GET to query.wikidata.org has a response with no sign of any errors, but, looking in the HAR file I saved:

"content": {
  "mimeType": "application/sparql-results+json; charset=utf-8",
  "size": 0,
  "text": ""
}
Gehel moved this task from Incoming to Blazegraph on the Wikidata-Query-Service board.
Gehel subscribed.

It is mostly impossible to get Blazegraph to return a valid error message on timed out queries. This might get better once we switch to a different backend, but at the moment there isn't much that can be done.