Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Internal error. Looks like something went wrong on our end

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
1453 238 530

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