# JSON::ParserError on Jobs::VersionCheck

**URL:** <https://meta.discourse.org/t/json-parsererror-on-jobs-versioncheck/64650>\
**Category:** Bug\
**Created:** [2017 年 6 月 17 日午前 12:44 UTC](https://meta.discourse.org/t/json-parsererror-on-jobs-versioncheck/64650 "2017-06-17T00:44:00Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![AlbertA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alberta/32/73923_2.png) [@AlbertA](https://meta.discourse.org/u/AlbertA)\
**Post date:** [2017 年 6 月 18 日午前 9:54 UTC](https://meta.discourse.org/t/json-parsererror-on-jobs-versioncheck/64650/8 "2017-06-18T09:54:14Z")

</div>

Yeah it looks like a separate issue. The query itself is incorrect as it tries to set a body in a GET request instead of query parameters.  
Without the query parameters, the json response only has two fields and was missing ‘missingVersionsCount’ (hence nil \> 0 which causes an exception).

I’ve updated the PR.

---

_[View the full topic](https://meta.discourse.org/t/json-parsererror-on-jobs-versioncheck/64650)._
