GET request to WikiData

Hello All.

I have error in GET Request node.

I try to send SPARQL request to [WikiData endpoint] using GET Request node. (Wikidata:SPARQL query service - Wikidata)

My query works fine in browser but doesn’t work in node. I get such error: ERROR GET Request 9:103 Execute failed: java.lang.IllegalArgumentException: Illegal character in query at index 78:{?item%20wdt:P279%20wd:Q154%20.%20SERVICE%20wikibase:label%20{bd:serviceParam%20wikibase:language%20"en".%20}}

Example of the query in the error text.

Does anybody can help to deal with this?


If you used the link like shown in your post, i.e. with plain { and } then it’s indeed an invalid URL. These characters are not allowed in plain and instead must be encoded as %7B or %7D, respectively.


Thanks a lot. Now it works.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.