If I run the following query
mutation {
bulkOperationRunQuery(
query:"""
{
customers(reverse:true) {
edges {
node
{
id
firstName
lastName
email
phone
amountSpent {
amount
currencyCode
}
averageOrderAmountV2 {
amount
currencyCode
}
addresses(first: 3) {
phone
firstName
lastName
province
provinceCode
zip
city
countryCodeV2
}
createdAt
updatedAt
numberOfOrders
tags
displayName
validEmailAddress
verifiedEmail
locale
}
}
}
}
"""
) {
bulkOperation {
id
status
}
userErrors {
field
message
}
}
}
X-Request-Id of above is 8171846e-09a6-4d36-ae54-ec7fbf1aab50
It fails with
{
"data": {
"node": {
"url": null,
"status": "FAILED",
"id": "gid://shopify/BulkOperation/2585703612734",
"partialDataUrl": null,
"errorCode": "INTERNAL_SERVER_ERROR",
"createdAt": "2022-11-22T14:28:07Z",
"objectCount": "0",
"fileSize": null
}
},
"extensions": {
"cost": {
"requestedQueryCost": 1,
"actualQueryCost": 1,
"throttleStatus": {
"maximumAvailable": 1000.0,
"currentlyAvailable": 999,
"restoreRate": 50.0
}
}
}
}
The X-Request-Id is 2ad4fafd-d05f-45c4-aa32-7b8ce3c3cd0f
The error goes away if I remove zip from addresses(). This error happens if I add zip, address1 or address2 to the addresses() of customer
Hope I’ve provided enough info to debug!


