# Strange json response /api/v1/product

**URL:** <https://forum.shopware.com/t/strange-json-response-api-v1-product/63453>\
**Category:** Programming (EN)\
**Created:** [10. Dezember 2019 um 13:10 UTC](https://forum.shopware.com/t/strange-json-response-api-v1-product/63453 "2019-12-10T13:10:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andreas0arttonia](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@Andreas0arttonia](https://forum.shopware.com/u/Andreas0arttonia)\
**Post date:** [10. Dezember 2019 um 13:10 UTC](https://forum.shopware.com/t/strange-json-response-api-v1-product/63453/1 "2019-12-10T13:10:37Z")

</div>

Hi,

I’m working on a small connector between a shopware 6 test environment and another database which is gathering product data from sw.  
Now, I moved the project over to a new computer and from that point on the json result looks totally different and as you can see a lot of data is missing.&nbsp;

Im calling my shopware client to get all products (&nbsp; $response&nbsp;=&nbsp;$service-\>request(&nbsp;‘GET’,&nbsp;‘product’);&nbsp; )  
But all what I get it this:  
&nbsp;

```
array (size=5)
  'data' => 
    array (size=1)
      0 => 
        array (size=6)
          'id' => string '960e95dbb6f6439a9d4339722c7d773e' (length=32)
          'type' => string 'product' (length=7)
          'attributes' => 
            array (size=56)
              ...
          'links' => 
            array (size=1)
              ...
          'relationships' => 
            array (size=20)
              ...
          'meta' => null
  'included' => 
    array (size=2)
      0 => 
        array (size=6)
          'id' => string '6c54c4683bf042b7848e51738745d25d' (length=32)
          'type' => string 'tax' (length=3)
          'attributes' => 
            array (size=5)
              ...
          'links' => 
            array (size=1)
              ...
          'relationships' => 
            array (size=1)
              ...
          'meta' => null

```

The result is totally different from what I expected or what is documented. I mean, yes, it is an result and f.e. the ID that I get back it ok. I also can filter for specific product and get at least the correct ID back without any error.  
If I run the same code on the old machine I get a lot more product information (sadly I cannot paste the result here yet)&nbsp;

I already recreated the integration. Access-ID and Seq.Key looks ok to me. I also get an authorisation error when I use random Id and key. I thought its permission related, thats why.

Can somebody explain this result set? is something missing?&nbsp;

Would be great to get an idea, thx

&nbsp;

---

<div class="post-metadata">

**Author:** ![Andreas0arttonia](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@Andreas0arttonia](https://forum.shopware.com/u/Andreas0arttonia)\
**Post date:** [11. Dezember 2019 um 12:07 UTC](https://forum.shopware.com/t/strange-json-response-api-v1-product/63453/2 "2019-12-11T12:07:40Z")

</div>

I updated my webserver. Now I have the complete json visible including “attributes” and so on.&nbsp;  
Issue can be closed.
