Hi,
I have a very big problem, my bulk operations fails very often and it fails more and more often, I use admin graphql api 2022-10 version
query:
mutation {
bulkOperationRunQuery(
query: """
{
orders(query: "created_at:>='2023-01-13T00:00:00Z' AND created_at:<'2023-01-14T00:00:00Z'") {
edges {
node {
id
name
createdAt
displayFinancialStatus
email
note
discountCode
tags
app{
name
}
customAttributes {
key
value
}
currentTotalPriceSet {
shopMoney {
amount
currencyCode
}
}
currentSubtotalPriceSet {
shopMoney {
amount
currencyCode
}
}
totalDiscountsSet {
shopMoney {
amount
currencyCode
}
}
paymentGatewayNames
refunds {
id
}
billingAddress{
firstName
lastName
phone
address1
address2
countryCodeV2
zip
city
}
shippingAddress {
firstName
lastName
phone
address1
address2
countryCodeV2
zip
city
}
customer {
firstName
lastName
email
phone
defaultAddress {
phone
address1
address2
zip
city
}
}
lineItems {
edges {
node {
id
sku
name
quantity
currentQuantity
discountAllocations {
discountApplication {
allocationMethod
targetSelection
value
}
allocatedAmountSet {
shopMoney {
amount
currencyCode
}
}
}
discountedUnitPriceSet {
shopMoney {
amount
currencyCode
}
}
originalUnitPriceSet{
shopMoney {
amount
currencyCode
}
}
}
}
}
shippingLines {
edges {
node {
id
title
discountedPriceSet {
shopMoney {
amount
currencyCode
}
}
}
}
}
metafields{
edges{
node{
id
key
value
namespace
}
}
}
}
}
}
}
"""
) {
bulkOperation {
id
status
}
userErrors {
field
message
}
}
}
returns:
body: {
data: {
node: {
id: 'gid://shopify/BulkOperation/1585437114504',
status: 'FAILED',
url: null,
errorCode: 'INTERNAL_SERVER_ERROR',
objectCount: '0'
}
}
I have seen someone returning back to 2022-07 version but it didnāt work for me ( this is my 2022-07 version attempt but it does same on 2022-10)
please can someone help on this?