# Quering remote modality to get instance doesn't work

**URL:** <https://discourse.orthanc-server.org/t/quering-remote-modality-to-get-instance-doesnt-work/1562>\
**Category:** Google Groups archive\
**Created:** [July 9, 2019, 5:59am UTC](https://discourse.orthanc-server.org/t/quering-remote-modality-to-get-instance-doesnt-work/1562 "2019-07-09T05:59:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fadi\_Salfiti](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/f/ed8c4c/32.png) [@Fadi\_Salfiti](https://discourse.orthanc-server.org/u/Fadi_Salfiti)\
**Post date:** [July 9, 2019, 5:59am UTC](https://discourse.orthanc-server.org/t/quering-remote-modality-to-get-instance-doesnt-work/1562/1 "2019-07-09T05:59:03Z")

</div>

The query answers return empty.

[http://localhost:8042/modalities/srv1/query](http://localhost:8042/modalities/srv1/query) {  
“Level”: “Instance”,  
“Query”: {  
“PatientID”: “00000000”,  
“StudyInstanceUID”: “1.2.392.200036.9116.2.6.1.48.1215708982.1276588421.574893”,  
“SeriesInstanceUID”: “1.2.392.200036.9116.2.6.1.48.1215708982.1276590015.82368”,  
}

[http://localhost:8042//queries/60ca1cde-6dc1-4214-86a7-24696714557d/answers/](http://localhost:8042//queries/60ca1cde-6dc1-4214-86a7-24696714557d/answers/)

[]

Can anyone help?

---

<div class="post-metadata">

**Author:** ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)\
**Post date:** [July 9, 2019, 6:36am UTC](https://discourse.orthanc-server.org/t/quering-remote-modality-to-get-instance-doesnt-work/1562/2 "2019-07-09T06:36:26Z")

</div>

Your query is not a valid JSON file. There should be no comma (“,”) after “SeriesInstanceUID”.

If this does not solve your issue, please share a minimal working example (sample DICOM files + configuration + logs in “–verbose” mode + reproducible command-line):

[https://en.wikipedia.org/wiki/Minimal\_working\_example](https://en.wikipedia.org/wiki/Minimal_working_example)
