# After upgrading to grpc v1.9: "Error: Argument mismatch in makeUnaryRequest"

**URL:** <https://discuss.dgraph.io/t/after-upgrading-to-grpc-v1-9-error-argument-mismatch-in-makeunaryrequest/8146>\
**Category:** Dgraph Clients\
**Tags:** untagged, dgraph-js\
**Created:** [February 9, 2018, 9:18pm UTC](https://discuss.dgraph.io/t/after-upgrading-to-grpc-v1-9-error-argument-mismatch-in-makeunaryrequest/8146 "2018-02-09T21:18:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [February 9, 2018, 9:18pm UTC](https://discuss.dgraph.io/t/after-upgrading-to-grpc-v1-9-error-argument-mismatch-in-makeunaryrequest/8146/1 "2018-02-09T21:18:34Z")

</div>

**Moved from GitHub [dgraph-js/24](https://github.com/dgraph-io/dgraph-js/issues/24)**

_Posted by_ [jeffkhull](https://github.com/jeffkhull):

Versions:  
dgraph-js: 1.1.0  
dgraph: 1.0.2 or 1.0.3

This error happens when trying to perform any query against the database, after upgrading from grpc 1.8.4 to grpc 1.9. I downgraded to 1.8.4 and the problem goes away. Would be interested to know if anyone else can reproduce this.

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [February 10, 2018, 3:07pm UTC](https://discuss.dgraph.io/t/after-upgrading-to-grpc-v1-9-error-argument-mismatch-in-makeunaryrequest/8146/2 "2018-02-10T15:07:00Z")

</div>

[gpahal](https://github.com/gpahal) _commented_ :

Fixed in the latest beta. I will release a stable version soon. You can install the beta using `npm install dgraph-js@1.1.1-beta.2`.

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [February 12, 2018, 12:44pm UTC](https://discuss.dgraph.io/t/after-upgrading-to-grpc-v1-9-error-argument-mismatch-in-makeunaryrequest/8146/3 "2018-02-12T12:44:10Z")

</div>

[jeffkhull](https://github.com/jeffkhull) _commented_ :

Confirmed fixed. Thanks!

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [July 11, 2020, 4:13am UTC](https://discuss.dgraph.io/t/after-upgrading-to-grpc-v1-9-error-argument-mismatch-in-makeunaryrequest/8146/4 "2020-07-11T04:13:21Z")

</div>


