Over the last few days I have been experiencing an issue when querying all products in my shop while using the Shopify Bulk Operation. I have tested this on the Shopify GraphQL app to reproduce the issue, and can confirm that after the status changes to “RUNNING” after some time the bulk operation fails, returning the following response:
This issue seems to be relatively new as previously I was able to query all items successfully. Any help or guidance on why this bulk operation is failing would be greatly appreciated.
Thanks for getting back to me so quickly. I just tried re-running the query again but this time with only a single field, and I am still receiving the same error. I’ve pasted below the queries I ran:
mutation createBulkOperationQuery($query: String!) {
bulkOperationRunQuery(
query: $query
) {
bulkOperation {
id
status
}
userErrors {
field
message
}
}
}
Hey Liam,
Yes I double checked the scopes and have been only testing the query on the Shopify GraphQL app to ensure its not something related to my environment. From the looks of it, this issue seems to be isolated to my store, as it seems the query and its structure are fine and working for other users. Would you be able to look into this? The inability to query items in bulk is effecting majority of our pipelines for managing our inventory, and I haven’t been able to figure out what could be causing it aside from it being an internal issue with my store.
Hey Liam,
I just tested the query again but this time on my development store, and the issue is persisting there too. I’ve pasted some screen shots from the GraphQL app as reference. Could it be possible that this is an issue on an account level?
That is quite strange - there shouldn’t be any config settings that would follow across from another store. Just to confirm though, is there a way you could test on a different partner linked store? I’m not able to replicate this on my own test store:
I could maybe try opening another partner account and testing on there, but I believe you when you say that it is working outside of my account. It seems localized to my account (which is both linked to my retail store and my partner store). I know the query was working, as our pipelines depended on being able to pull data in bulk from shopify and storing it in our local database. I’m really looking for a solution to resolve this issue for my specific account, as without it, I am unable to effectively manage my store, and as the days continue on, its becoming more and more of a burden on our operations. Is there anyway you can potentially escalate this issue, as I am unsure what the cause could be, but it’s definitely not user error.