# API Error: Wrong data in response for query product with aliases

**URL:** <https://community.shiphero.com/t/api-error-wrong-data-in-response-for-query-product-with-aliases/3361>\
**Category:** Feedback\
**Created:** [April 28, 2025, 11:55am UTC](https://community.shiphero.com/t/api-error-wrong-data-in-response-for-query-product-with-aliases/3361 "2025-04-28T11:55:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jenyatra](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jenyatra](https://community.shiphero.com/u/jenyatra)\
**Post date:** [April 28, 2025, 11:55am UTC](https://community.shiphero.com/t/api-error-wrong-data-in-response-for-query-product-with-aliases/3361/1 "2025-04-28T11:55:15Z")

</div>

Hello!

Seems there is an error in querying multiple products with aliases:  
for each alias, the returned data contains the data of the same product.

Example request:

```auto
query {
    abc: product(sku: "test_sync3PL_abc") {
        request_id
        complexity
        data {
            id
            sku
        }
    }
    def: product(sku: "test_sync3PL_def") {
        request_id
        complexity
        data {
            id
            sku
        }
    }
}

```

Actual response:

```auto
{
  "data": {
    "abc": {
      "request_id": "680f6ab8ba707b3cfb4e04b9",
      "complexity": 2,
      "data": {
        "id": "UHJvZHVjdEluZm86MzMxODc2NjM0",
        "sku": "test_sync3PL_def" // error here: expected sku "test_sync3PL_abc"
      }
    },
    "def": {
      "request_id": "680f6ab8ba707b3cfb4e04b9",
      "complexity": 2,
      "data": {
        "id": "UHJvZHVjdEluZm86MzMxODc2NjM0",
        "sku": "test_sync3PL_def"
      }
    }
  },
  "extensions": {...}
}

```

Notice that id and sku are the same for all data records in the response.

---

<div class="post-metadata">

**Author:** ![Nathan-Rhodes](https://avatars.discourse-cdn.com/v4/letter/n/9dc877/32.png) [@Nathan-Rhodes](https://community.shiphero.com/u/Nathan-Rhodes)\
**Post date:** [May 5, 2025, 8:56pm UTC](https://community.shiphero.com/t/api-error-wrong-data-in-response-for-query-product-with-aliases/3361/2 "2025-05-05T20:56:33Z")

</div>

Hello,

Thank you for submitting this to our community. We’ve taken a look at the behavior you’re experiencing and were able to recreate it. At this time aliasing is only supported by mutations in the API. If this changes in the future we will make updates in the announcements.

-Thanks
