Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Internal error. Looks like something went wrong on our end

Artin
Shopify Partner
2 0 1

 

Query:

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

Response:
{
    "errors": [
        {
            "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: bef2baa7-2d79-4c5e-9928-9807148b9e28 (include this in support requests).",
            "extensions": {
                "code": "INTERNAL_SERVER_ERROR",
                "requestId": "bef2baa7-2d79-4c5e-9928-9807148b9e28"
            }
        }
    ]
}

 

If I try to get a collection, I get a response:

 

{
    "data": {
        "collection": {
            "title": "Milvertons Facebook Shop",
            "id": "gid://shopify/Collection/415789351150"
        }
    },
    "extensions": {
        "cost": {
            "requestedQueryCost": 1,
            "actualQueryCost": 1,
            "throttleStatus": {
                "maximumAvailable": 1000.0,
                "currentlyAvailable": 999,
                "restoreRate": 50.0
            }
        }
    }
}

If I change the collection "415789351150" for the "query" param to another, then there is no error

Replies 2 (2)

Artin
Shopify Partner
2 0 1

The bug is still relevant

ShopifyDevSup
Shopify Staff
1244 201 440

Hi @Artin 

I can't replicate an error with the productVariants query using a collection query filter. 

 

We also can't provide authenticated support in the forums, but if the issue is persisting with a single collection, then please contact Shopify support with as much context as possible about the specific collection, and a recent example of a request along with the timestamp and X-Request-ID from the response. 

 

Thanks.

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog