Skip to main content
Log inSign up

GraphQL input objects limited to 250 items

As of API version 2020-01, Storefront and Admin GraphQL requests return errors if any input array is supplied with more than 250 objects. We’re bringing input limits in-line with connection limits to protect Shopify and your app against timeouts.

For example, the following query would need to reduce the number of input objects.

{
  nodes(ids: [“id1”, “id2”, “id3”, ... , “id251”, “id252”]) {
   … on Order {
      id
   }
}
Was this section helpful?