Getting INTERNAL_SERVER_ERROR when running a bulk operation to fetch orders

The query fetches the orders between two dates, with their associated agreements, sales, line items. If i drop the sales connection from the query - no errors.

Request ID: 960ad6a2-a036-49b7-a5d6-91d60846a1f0

Bulk operation ID: gid://shopify/BulkOperation/529374117972

Update: it looks like if i remove the sales from the query, the bulk operation completes successfully. Can somebody from the shopify devs take a look at what is failing and how to mitigate the problem?

Can somebody look at the issue?