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

**URL:** <https://discuss.hangfire.io/t/can-not-change-the-state-to-failed-target-method-was-not-found/10101>\
**Category:** bug?\
**Tags:** sql-server, aspnetcore\
**Created:** [July 18, 2023, 9:14am UTC](https://discuss.hangfire.io/t/can-not-change-the-state-to-failed-target-method-was-not-found/10101 "2023-07-18T09:14:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jozif\_2023](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/jozif_2023/32/3413_2.png) [@jozif\_2023](https://discuss.hangfire.io/u/jozif_2023)\
**Post date:** [July 18, 2023, 9:14am UTC](https://discuss.hangfire.io/t/can-not-change-the-state-to-failed-target-method-was-not-found/10101/1 "2023-07-18T09:14:34Z")

</div>

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.

 ![Screenshot 2023-07-18 100321](https://europe1.discourse-cdn.com/flex017/uploads/hangfire/original/2X/f/fc60f219f0506912c73656329660617d7b22bfd6.png)

Hangfire.AspNetCore 1.7.33  
Hangfire.SqlServer 1.7.33  
.NET 7
