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"
}
}
]
}
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023