Bulk queries cannot contain more than 5 connections

I’m getting the following error while trying to run a bulk query:
Bulk queries cannot contain more than 5 connections.

This seems excessive since it’s really easy to hit the limit since everything is a connection now. So when trying to fetch all products with collections, and then the variants with inventory levels, metafields, and variant media, now I’m getting this error. Previously I wasn’t because I was using the variant “image” field, but since the new mutations require a media ID instead of a image ID, I need to fetch the variant media connection. It doesn’t even make sense since there can only be one media file on a variant currently. This is causing an issue for my bulk editor app.

I’m starting to think bulk operations have too many limitations to even be useful now, since everything has to be done in separate queries. I might as well just switch to making each request one by one, even though it’s less efficient.

But I’m requesting the limit to be increased since that seems like the best solution for everyone, and it will solve one of my problems at least.

I agree with @DavidT. Everything is becoming a first-class citizen, which requires more connections to replace the good old REST API. We are currently at the limit because we retrieve collections separately. However, it would be great to see an increase in the connection limit.

I absolutely agree. 2025-01 api version has even more connections. :grimacing: It’s getting difficult even if mixing with regular requests.

Frankly the limit of 5 makes bulk querying borderline useless. I started looking into it becuase I am running into rate limiting/query cost limitations with Admin API but somehow Bulk Querying is more restrictive than just spamming the Admin API.