Hi Robert,
Try URL with query template path without quotes.
I was getting the exception when I was using the following URL:
<protocol>://<server>:<port>/XMII/IlluminatorOData/QueryTemplate?QueryTemplate="Query Template Path"&$format=json
Also have a look at the reply Sam has given and the URL of the help documentation which Sam mentioned.
Regards,
Rohit Negi.