productVariantUpdate bulk mutation internal error.

Hello, I have been trying to update my products price and CompareAtPrice using graphiql bulk mutaion operation.

My code is:

mutation {
  bulkOperationRunMutation(mutation: "mutation call($input: ProductVariantInput!) {productVariantUpdate(input: $input) {productVariant {id price compareAtPrice}userErrors {field message}}}",
  stagedUploadPath: "tmp/67714973969/bulk/5c06f7e5-029f-40d1-b668-e6a21f903310/price_update") {
    bulkOperation {
      id
      url
      status
    }
    userErrors {
      message
      field
    }
  }
}

My input variable samples:

{"input": {"id": "gid://shopify/ProductVariant/43752646574353", "price": 165.0, "compareAtPrice": 138.73}}
{"input": {"id": "gid://shopify/ProductVariant/43752646803729", "price": 66.0, "compareAtPrice": 56.23}}

I can successfully upload the variables every time, but whenever I try to run the bulk mutation operation I get Internal Error, Looks like something went wrong on our end:

{
  "errors": [
    {
      "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: 2774beae-4767-4817-86ad-61156842a870 (include this in support requests).",
      "extensions": {
        "code": "INTERNAL_SERVER_ERROR",
        "requestId": "2774beae-4767-4817-86ad-61156842a870"
      }
    }
  ]
}

Anyone could help me figure this out?
I tried contacting support as well, but they said they are not trained on this.

@daniftinca

Usually, when I get this error it starts working again on its own after some time.

1 Like

Is there anything wrong in my code that I should be worried about or just keep trying after some time?