getting INTERNAL_SERVER_ERROR while doing fulfillmentCreateV2 mutation

Highlighted
New Member
3 0 0

I want to create fulfillment using graphql mutation. I am getting an "Internal server error" as a response. 

 

Below is the query I am trying:

 

mutation {fulfillmentCreateV2(fulfillment:
{
notifyCustomer: false
trackingInfo: {
number: "test12345"
url: "http://www.google.com"
company: "USPS"
}
lineItemsByFulfillmentOrder:
{
fulfillmentOrderId: "gid://shopify/FulfillmentOrder/1886540988451"
fulfillmentOrderLineItems: [
{
id: "gid://shopify/FulfillmentOrderLineItem/4171373215779"
quantity: 1
}
]
}
})
{
fulfillment {
trackingInfo {
number
url
company
}
}
userErrors {
field
message
}
}
}
 

Below is the response I got:

{
"errors": [
{
"message": "Internal error. Looks like something went wrong on our end.\nRequest ID: 70d8b335-8108-4d37-99e6-fea0873232bf (include this in support requests).",
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"requestId": "70d8b335-8108-4d37-99e6-fea0873232bf"
}
}
] }

 can anyone please help me figure out what went wrong?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
493 98 88

Hi @mpatel 

 

Can you confirm that the fulfillmentOrder ID is correct? Keep in mind this will be different than the order ID 

Vix | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 


0 Likes
Highlighted
New Member
3 0 0

Hi Vix,

Thank you so much for your response.

I am a bit confused on how to identify the correct fulfillmentOrderId. 

I am using the ID showed up when I clicked on the order #1033. I thought 1033 is order ID and 1895744143395 is fulfillmentOrderId

https://xxxxxxx.myshopify.com/admin/orders/1895744143395?orderListBeta=true

 

0 Likes