Hangfire Discussion

Cannot delete failed job

hangfire-pro
Tags: #<Tag:0x00007f84fae0b6a0>

#1

Hi,

I’m using Hangfire Pro batches.
I currently have some failed jobs which belong to a cancelled batch which is already automatically removed.
When I try to delete the failed job I get the error:

Failed to change state to a ‘Deleted’ one due to an exception after 10 retry attempts

System.InvalidOperationException
Could not move a parent batch ‘7b97f7bf-5322-413b-8460-123097be9533’ to a final state: it does not exist.