Unexpected Error - When running a bulk mutation

Unexpected Error - When running a bulk mutation

ozzyonfire
Shopify Partner
49 2 17

When trying to run a bulk mutation I'm getting this error back. 

 

'Unexpected error - https://storage.googleapis.com/shopify-staged-uploads/tmp/gcs/26556956744/bulk/09a4feab-4e89-4720-b1... not valid for shop 26556956744, bucket bulk/'

The .jsonl file is uploaded successfully in the previous step:

 

Staged Upload Path: https://storage.googleapis.com/shopify-staged-uploads/tmp/gcs/26556956744/bulk/09a4feab-4e89-4720-b1...

 

The above error message is the only thing I get back. I'm also able to run the exact same script (and mutation) against my other Shopify stores. It's just one that's giving me the problem. 

 

Mutation in full looks like:

mutation {
                bulkOperationRunMutation(
                        mutation: "mutation call($input: ProductVariantInput!) {
    productVariantUpdate(input: $input) {
      productVariant {
        sku
        id
      }
      userErrors {
        message
        field
      }
    }
  }",
      stagedUploadPath: "https://storage.googleapis.com/shopify-staged-uploads/tmp/gcs/26556956744/bulk/ec66d47e-7b56-427a-b33c-e45e54deafd0/5dc446f17e6b3b001e61251c-price-update-1663598245971.jsonl"       
                ) {
                        bulkOperation {
                                id
                                status
                        }
                        userErrors {
                                field
                                message
                        }
                }
        }

 

Reply 1 (1)

ozzyonfire
Shopify Partner
49 2 17

It's very weird. I've been trying over the past couple days and it's still not working... Getting the same "Unexpected Error" message.

 

Again, I try the same script with a different store and everything works fine. 

 

I've tried reaching out to support, but they weren't helpful. The conversation ended with, "This is outside of our scope. Maybe you would be interested in hiring a Shopify Expert? Can I interest you in a loan from Shopify Capital to get you going?" lol wow!

 

I've tried creating a new private app (with a new set of API keys) and I'm still getting the same error. So I can only assume that I'm currently unable to perform any Bulk Mutations site-wide across all apps. Which is a scary thought. 

 

Has anyone else run into this error? The closest thing I've found is someone who wasn't sending in the full url with their stagedUploadPath. But the path looks good, and I can view the file which is valid .jsonl

 

Thanks!