I am getting “INTERNAL_SERVER_ERROR” for the below query. There are no details about what caused the error in the response.
Appreciate any help! Thanks!
mutation {
bulkOperationRunQuery(query: """
{
orders {
edges {
node {
id
fulfillable
fulfillmentOrders {
edges {
node {
id
requestStatus
status
supportedActions {
action
externalUrl
}
merchantRequests {
edges {
node {
id
kind
}
}
}
deliveryMethod {
id
methodType
}
destination {
id
address1
address2
city
company
countryCode
email
firstName
lastName
phone
province
zip
}
lineItems {
edges {
node {
id
lineItem {
id
fulfillableQuantity
originalTotalSet {
presentmentMoney {
amount
}
}
fulfillmentService {
id
callbackUrl
fulfillmentOrdersOptIn
handle
inventoryManagement
productBased
serviceName
shippingMethods {
code
label
}
type
}
duties {
id
countryCodeOfOrigin
harmonizedSystemCode
taxLines {
priceSet {
presentmentMoney {
amount
}
}
}
price {
presentmentMoney {
amount
}
}
}
discountedUnitPriceSet {
presentmentMoney {
amount
}
}
customAttributes {
key
value
}
}
}
}
}
}
}
}
fulfillments {
id
createdAt
deliveredAt
displayStatus
estimatedDeliveryAt
}
}
}
}
}
""") {
bulkOperation {
id
status
}
userErrors {
field
message
}
}
}