# Json.gz in web service request; Problem while parsing the response object

**URL:** <https://forum.katalon.com/t/json-gz-in-web-service-request-problem-while-parsing-the-response-object/21666>\
**Category:** API Testing\
**Tags:** api-testing, katalon-studio\
**Created:** [March 21, 2019, 12:10pm UTC](https://forum.katalon.com/t/json-gz-in-web-service-request-problem-while-parsing-the-response-object/21666 "2019-03-21T12:10:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![angelo.dabu](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@angelo.dabu](https://forum.katalon.com/u/angelo.dabu)\
**Post date:** [March 21, 2019, 12:10pm UTC](https://forum.katalon.com/t/json-gz-in-web-service-request-problem-while-parsing-the-response-object/21666/1 "2019-03-21T12:10:38Z")

</div>

Hi,

we have this json api that are in gz (gunzip?) whenever i tried to test this request error pops like this.

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/5/5e1eb9e7bccea345f2ee44cdf4651a9bbe1d4072.png)

1. How to solve this problem?
2. Does katalon support json.gz?

thank you for you respond.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [March 21, 2019, 2:45pm UTC](https://forum.katalon.com/t/json-gz-in-web-service-request-problem-while-parsing-the-response-object/21666/2 "2019-03-21T14:45:09Z")

</div>

There’s no question that charcode 31 is a problem in JSON. However, it looks to me like the issue might be http headers related. I’m not an expert in this area, so I’ll defer to others. But in the meantime, take a look at this from StackOverflow:

> <https://stackoverflow.com/questions/8350749/gzipped-json-file-not-decompressing>

---

<div class="post-metadata">

**Author:** ![angelo.dabu](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@angelo.dabu](https://forum.katalon.com/u/angelo.dabu)\
**Post date:** [March 26, 2019, 12:10pm UTC](https://forum.katalon.com/t/json-gz-in-web-service-request-problem-while-parsing-the-response-object/21666/3 "2019-03-26T12:10:10Z")

</div>

Thank you for the reply.

I also added the Accept-Encoding, Content-Type and Content-Encoding to no avail.
