Hi,
I have this query:
mutation fulfillmentCreateV2($fulfillment0: FulfillmentV2Input!, $fulfillment1: FulfillmentV2Input!) {
f0:fulfillmentCreateV2(fulfillment: $fulfillment$0) {
fulfillment{
id, name
},
userErrors {
field, message
}
},
f1:fulfillmentCreateV2(fulfillment: $fulfillment1) {
fulfillment{
id, name
},
userErrors {
field, message
}
}
}
simply it fulfills multiple orders in 1 query, since there is no bulk operation for this, I send up to 100 fulfillments at a time, because it costs 1000 (the mac you can use in a single request in graphql api), with variables named fulfillment0, fulfillment1…
It works fine most of the time, but I have 1 shop, that has more orders than the other shops, I sometime have an error as:
HttpInternalError: Shopify internal error:
If you report this error, please include this id: c7205136-d5ce-46a8-9c2c-55ef15cd8d9e
at HttpInternalError.ShopifyError [as constructor] e[90m(c:\willemse\api\e[39mnode_modules\e[4m@shopifye[24m\shopify-api\lib\error.js:13:28e[90m)e[39m
at HttpInternalError.HttpResponseError [as constructor] e[90m(c:\willemse\api\e[39mnode_modules\e[4m@shopifye[24m\shopify-api\lib\error.js:104:28e[90m)e[39m
at HttpInternalError.HttpRetriableError [as constructor] e[90m(c:\willemse\api\e[39mnode_modules\e[4m@shopifye[24m\shopify-api\lib\error.js:119:42e[90m)e[39m
at new HttpInternalError e[90m(c:\willemse\api\e[39mnode_modules\e[4m@shopifye[24m\shopify-api\lib\error.js:127:42e[90m)e[39m
at HttpClient.throwFailedRequest e[90m(c:\willemse\api\e[39mnode_modules\e[4m@shopifye[24m\shopify-api\lib\clients\http_client\http_client.js:207:23e[90m)e[39m
at NewHttpClient.<anonymous> e[90m(c:\willemse\api\e[39mnode_modules\e[4m@shopifye[24m\shopify-api\lib\clients\http_client\http_client.js:248:34e[90m)e[39m
at step e[90m(c:\willemse\api\e[39mnode_modules\e[4m@shopifye[24m\shopify-api\node_modules\e[4mtslibe[24m\tslib.js:144:27e[90m)e[39m
at Object.next e[90m(c:\willemse\api\e[39mnode_modules\e[4m@shopifye[24m\shopify-api\node_modules\e[4mtslibe[24m\tslib.js:125:57e[90m)e[39m
at fulfilled e[90m(c:\willemse\api\e[39mnode_modules\e[4m@shopifye[24m\shopify-api\node_modules\e[4mtslibe[24m\tslib.js:115:62e[90m)e[39m
e[90m at process.processTicksAndRejections (node:internal/process/task_queues:95:5)e[39m {
response: {
code: e[33m502e[39m,
statusText: e[32m'Bad Gateway'e[39m,
body: e[32m'<!--\n'e[39m +
e[32m' The source of truth for this generic error page is https://github.com/Shopify/error-pages.\n'e[39m +
e[32m' Please do not edit this file directly.\n'e[39m +
e[32m'-->\n'e[39m +
e[32m'<!DOCTYPE html>\n'e[39m +
then some html as:
<h1 data-i18n="content-title">There was a problem loading this website</h1>\n'e[39m +
e[32m' <p data-i18n="try-refreshing">Try refreshing the page.</p>\n'e[39m +
e[32m` <p data-i18n="try-again">If the site still doesn't load, please try again in a few minutes.</p>\n`e[39m +
e[32m' <a onclick="window.location.reload();" href="" class="action" data-i18n="refresh-page">Refresh Page</a>\n'e[39m +
in multiple languages, and this:
e[32m' "try-refreshing": "请尝试刷新页面。",\n'e[39m +
e[32m' "try-again": "如果网站仍未加载,请在几分钟后重试。",\n'e[39m +
e[32m' "refresh-page": "刷新页面"\n'e[39m +
e[32m' },\n'e[39m +
e[32m' "zh-TW": {\n'e[39m +
e[32m' "title": 'e[39m... 1010 more characters,
headers: {
e[32m'Alt-Svc'e[39m: [ e[32m'h3=":443"; ma=86400, h3-29=":443"; ma=86400'e[39m ],
e[32m'Cf-Cache-Status'e[39m: [ e[32m'DYNAMIC'e[39m ],
e[32m'Cf-Ray'e[39m: [ e[32m'7afe9d046e24d36f-CDG'e[39m ],
Connection: [ e[32m'close'e[39m ],
e[32m'Content-Length'e[39m: [ e[32m'12194'e[39m ],
e[32m'Content-Type'e[39m: [ e[32m'text/html'e[39m ],
Date: [ e[32m'Thu, 30 Mar 2023 07:25:16 GMT'e[39m ],
Etag: [ e[32m'"63ea41a6-2fa2"'e[39m ],
Nel: [
e[32m'{"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}'e[39m
],
e[32m'Report-To'e[39m: [
e[32m'{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=nhrfP75H4PMWHXKGrqhWpz%2BWJG0WFa%2FqQh%2F59FXJerRFoLapO%2FjmQach%2FAO29u8hBAtrOEYNLyOtMPTWU2j8P5■■■%2BAaZPsjFoLh3EdyPF72QSmmozS%2FY7C31LtPEQjJEFZ4C9CrjSgmV8CV3Rs%3D"}],"group":"cf-nel","max_age":604800}'e[39m
],
Server: [ e[32m'cloudflare'e[39m ],
e[32m'Server-Timing'e[39m: [ e[32m'cfRequestDuration;dur=45414.000034'e[39m ],
e[32m'X-Content-Type-Options'e[39m: [ e[32m'nosniff'e[39m ],
e[32m'X-Dc'e[39m: [ e[32m'gcp-europe-west9,gcp-europe-west4'e[39m ],
e[32m'X-Download-Options'e[39m: [ e[32m'noopen'e[39m ],
e[32m'X-Permitted-Cross-Domain-Policies'e[39m: [ e[32m'none'e[39m ],
e[32m'X-Request-Id'e[39m: [ e[32m'c7205136-d5ce-46a8-9c2c-55ef15cd8d9e'e[39m ],
e[32m'X-Sorting-Hat-Podid'e[39m: [ e[32m'345'e[39m ],
e[32m'X-Sorting-Hat-Shopid'e[39m: [ e[32m'59555315848'e[39m ],
e[32m'X-Xss-Protection'e[39m: [ e[32m'1; mode=block'e[39m ]
}
}
}
Can someone pls explain me what is the problem?
Thanks in advance