Internal error. Looks like something went wrong on our end.

Solved
bgodbgg
Tourist
8 0 1
Any help is appreciated.  I get an internal error for a small percentage of our app installs whenever we try to query by updated_at.
Request ID: e32af26f-4924-4d3f-b1e9-b2a0fcc11e92
 
Variables: 
{"first":10, "query":"updated_at:>'2020-07-17T00:00:00Z',inventory_total:>0"}
 
Query:

 

query temp($first:Int, $query: String) {
    products(first:$first, query: $query) {
        pageInfo {
            hasNextPage
        }
        edges {
            cursor
            node {
                id
                legacyResourceId
                handle
                createdAt
                description
                descriptionHtml
                featuredImage {
                    id
                    altText
                    originalSrc
                    transformedSrc
                }
                featuredMedia {
                    __typename
                    alt
                    mediaContentType
                    preview {
                        image {
                            id
                            altText
                            originalSrc
                            transformedSrc
                        }
                        status
                    }
                    status
                }
                feedback {
                    summary
                }
                hasOnlyDefaultVariant
                isGiftCard
                mediaCount
                onlineStorePreviewUrl
                onlineStoreUrl
                options {
                    id
                    name
                    position
                    values
                }
                priceRange {
                    maxVariantPrice {
                        amount
                        currencyCode
                    }
                    minVariantPrice {
                        amount
                        currencyCode
                    }
                }
                productType
                publishedAt
                seo {
                    description
                    title
                }
                storefrontId
                tags
                title
                totalVariants
                tracksInventory
                updatedAt
                vendor
            }
        }
    }
}

 

0 Likes
SBD_
Shopify Staff
Shopify Staff
1044 141 185

This is an accepted solution.

Thanks for reporting @bgodbgg. Looks like a timeout on our end. I'll raise this internally. In the meantime, using a sortKey should resolve the issue.

 

products(first:$first, query: $query, sortKey: UPDATED_AT) { ...