"Can not change the state to 'Failed': target method was not found"

we have a monolithic ASP core application that uses Hangfire for queue management. we only have one service instance, and everything is packed into the ASP core app (hangfire server + client).

we have executed more than 190000 jobs through Hangfire, and in some cases for the same job it fails due to this error “Can not change the state to ‘Failed’: target method was not found.”
I re-queued the job from the dashboard and it works fine.

Hangfire.AspNetCore 1.7.33
Hangfire.SqlServer 1.7.33
.NET 7