Hello everyone,
I’m implementing error handling for bulk operations and have a question about retrying failed mutations.
When I receive a “bulk_operations/finish” webhook after running a bulk mutation, I query the result using query getBulkOperation
and handle FAILED status for error handling.
From my research, I understand that partialDataUrl
contains only successfully processed records. This means that to retry failed records, I need to:
- Compare the original input JSONL file (uploaded when starting the bulk operation)
- With the JSONL file from
partialDataUrl
(containing only successful records) - Identify which records failed by finding the difference between the two files
Is this the correct approach, or are there more efficient methods for error handling and retrying failed bulk operations? I’d appreciate any advice on best practices for this scenario.
Thank you!