Admin API GraphQL productVariants query failing when fetching metafield based collections by id

This Admin API GraphQL productVariant query for the first 10 productVariants from a collection id works correctly. The automated collection with id 288510083230 uses product tags as a condition.

{
  productVariants(first: 10, query: "collection:288510083230") {
    edges {
      node {
        id
        displayName
      }
    }
  }
}

If I enter the id for an automated collection with conditions based on metafields, the same query fails with an error message.

{
  "errors": [
    {
      "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: 282872fe-851d-4222-b8a0-b782f811954a (include this in support requests).",
      "extensions": {
        "code": "INTERNAL_SERVER_ERROR",
        "requestId": "282872fe-851d-4222-b8a0-b782f811954a"
      }
    }
  ]
}

Hey @brdata ,

I tried the exact same API request as yours on my test store and it worked great so I’m wondering if it may be something to do with the store or a temporary issue with the platform.

If you could contact us via your Partner Dashboard under ‘support’ , our Partner Support team could gather some more technical details and we could dig in a little further.

Hope that helps!