# Agent.query in react native not fetching properly

**URL:** <https://forum.dfinity.org/t/agent-query-in-react-native-not-fetching-properly/5990>\
**Category:** Developers\
**Created:** [July 19, 2021, 6:15pm UTC](https://forum.dfinity.org/t/agent-query-in-react-native-not-fetching-properly/5990 "2021-07-19T18:15:46Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jzxchiang](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/jzxchiang/32/2592_2.png) [@jzxchiang](https://forum.dfinity.org/u/jzxchiang)\
**Post date:** [July 21, 2021, 5:31am UTC](https://forum.dfinity.org/t/agent-query-in-react-native-not-fetching-properly/5990/3 "2021-07-21T05:31:31Z")

</div>

I think it’s related to an issue I found where RN doesn’t properly deal with binary response bodies. Basically I had to polyfill the default fetch. See [here](https://forum.dfinity.org/t/making-http-calls-from-mobile-apps/5192/14) for details.

---

_[View the full topic](https://forum.dfinity.org/t/agent-query-in-react-native-not-fetching-properly/5990)._
