Development discussions around Shopify APIs
I am receiving the above error from a GraphQL query when attempting to access the fulfillment service via a line item.
If I reference the fulfillment service through the product node first it works as expected.
Note that in this particular case, the SKU assigned to the line item is different than the SKU for the product/variant that the line item references.
Not sure if this is what is causing it to puke, however I don't run into the same issue with other products.
An example query that cause the INTERNAL_SERVER_ERROR is below. If you remove the request for the fulfillment service at the line item node it works correctly.
I believe one should be able to reference this as a reference to what service an item was assigned to historically.
Thanks
-Tim
{
fulfillmentOrder(id: "gid://shopify/FulfillmentOrder/xxxxxxxxxxxxx") {
id
requestStatus
status
order {
lineItems(first: 20) {
edges {
node {
sku,
fulfillmentService{
id,
handle
},
product {
id,
variants(first: 3) {
edges{
node{
sku,
fulfillmentService{
id,
handle
}
}
}
}
}
}
}
}
}
}
}
Hi @Mothy,
Can you provide another request id for a more recent internal server error? The one you linked doesn't seem to be attached to any logs.
CalD | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me 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
As requested.
{
"errors": [
{
"message": "Internal error. Looks like something went wrong on our end.\nRequest ID: 0b835a08-9463-40b2-8922-2bfc7b49d5ca (include this in support requests).",
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"requestId": "0b835a08-9463-40b2-8922-2bfc7b49d5ca"
}
}
]
}
User | RANK |
---|---|
10 | |
5 | |
3 | |
3 | |
3 |
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023