Failed jobs do not become expired to allow you to re-queue them without any
time pressure. You should re-queue or delete them manually, or apply AutomaticRetry(OnAttemptsExceeded = AttemptsExceededAction.Delete)
attribute to delete them automatically.
System.BadImageFormatException: Index not found. (0x80131124)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.EnumInfo`1.Create(RuntimeTypetype)
at System.RuntimeType.IGenericCacheEntry`1.CreateAndCache(RuntimeTypetype)
at System.Enum.<GetEnumInfo>g__InitializeEnumInfo|5_0[TStorage](RuntimeTypeenumType, BooleangetNames)
at TEQ.WorkerJobs.Jobs.BaseZoneAwareTask.ExecuteTask(PerformContextcontext, CancellationTokencancellationToken) in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseZoneAwareTask.cs:line 61
at TEQ.WorkerJobs.Jobs.BaseBackgroundTask.Execute(PerformContextcontext, CancellationTokencancellationToken) in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseBackgroundTask.cs:line 39
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
System.BadImageFormatException: Index not found. (0x80131124)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.EnumInfo`1.Create(RuntimeTypetype)
at System.RuntimeType.IGenericCacheEntry`1.CreateAndCache(RuntimeTypetype)
at System.Enum.<GetEnumInfo>g__InitializeEnumInfo|5_0[TStorage](RuntimeTypeenumType, BooleangetNames)
at TEQ.WorkerJobs.Jobs.BaseZoneAwareTask.ExecuteTask(PerformContextcontext, CancellationTokencancellationToken) in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseZoneAwareTask.cs:line 61
at TEQ.WorkerJobs.Jobs.BaseBackgroundTask.Execute(PerformContextcontext, CancellationTokencancellationToken) in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseBackgroundTask.cs:line 39
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
System.BadImageFormatException: Index not found. (0x80131124)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.EnumInfo`1.Create(RuntimeTypetype)
at System.RuntimeType.IGenericCacheEntry`1.CreateAndCache(RuntimeTypetype)
at System.Enum.<GetEnumInfo>g__InitializeEnumInfo|5_0[TStorage](RuntimeTypeenumType, BooleangetNames)
at TEQ.WorkerJobs.Jobs.BaseZoneAwareTask.ExecuteTask(PerformContextcontext, CancellationTokencancellationToken) in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseZoneAwareTask.cs:line 61
at TEQ.WorkerJobs.Jobs.BaseBackgroundTask.Execute(PerformContextcontext, CancellationTokencancellationToken) in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseBackgroundTask.cs:line 39
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
System.BadImageFormatException: Index not found. (0x80131124)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.EnumInfo`1.Create(RuntimeTypetype)
at System.RuntimeType.IGenericCacheEntry`1.CreateAndCache(RuntimeTypetype)
at System.Enum.<GetEnumInfo>g__InitializeEnumInfo|5_0[TStorage](RuntimeTypeenumType, BooleangetNames)
at TEQ.WorkerJobs.Jobs.BaseZoneAwareTask.ExecuteTask(PerformContextcontext, CancellationTokencancellationToken) in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseZoneAwareTask.cs:line 61
at TEQ.WorkerJobs.Jobs.BaseBackgroundTask.Execute(PerformContextcontext, CancellationTokencancellationToken) in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseBackgroundTask.cs:line 39
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
System.BadImageFormatException: Index not found. (0x80131124)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.EnumInfo`1.Create(RuntimeTypetype)
at System.RuntimeType.IGenericCacheEntry`1.CreateAndCache(RuntimeTypetype)
at System.Enum.<GetEnumInfo>g__InitializeEnumInfo|5_0[TStorage](RuntimeTypeenumType, BooleangetNames)
at TEQ.WorkerJobs.Jobs.BaseZoneAwareTask.ExecuteTask(PerformContextcontext, CancellationTokencancellationToken) in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseZoneAwareTask.cs:line 61
at TEQ.WorkerJobs.Jobs.BaseBackgroundTask.Execute(PerformContextcontext, CancellationTokencancellationToken) in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseBackgroundTask.cs:line 39
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
Failed to change state to a 'Failed' one due to an exception after 10 retry attempts More details...
08/07/2026 02:32:45
System.AggregateException (ln0xsdlwk001rj1:1873)
An error occurred while writing to logger(s). (Index not found. (0x80131124))
System.AggregateException: An error occurred while writing to logger(s). (Index not found. (0x80131124)) ---> System.BadImageFormatException: Index not found. (0x80131124)
at System.RuntimeTypeHandle.ConstructName(QCallTypeHandlehandle, TypeNameFormatFlagsformatFlags, StringHandleOnStackretString)
at System.RuntimeTypeHandle.ConstructName(QCallTypeHandlehandle, TypeNameFormatFlagsformatFlags, StringHandleOnStackretString)
at System.RuntimeTypeHandle.ConstructName(TypeNameFormatFlagsformatFlags)
at System.RuntimeType.RuntimeTypeCache.ConstructName(String&name, TypeNameFormatFlagsformatFlags)
at System.Diagnostics.StackTrace.ToString(TraceFormattraceFormat, StringBuildersb)
at System.Exception.get_StackTrace()
at System.BadImageFormatException.ToString()
at Microsoft.Extensions.Logging.Console.SimpleConsoleFormatter.Write[TState](LogEntry`1&logEntry, IExternalScopeProviderscopeProvider, TextWritertextWriter)
at Microsoft.Extensions.Logging.Console.ConsoleLogger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Microsoft.Extensions.Logging.Logger.<Log>g__LoggerLog|14_0[TState](LogLevellogLevel, EventIdeventId, ILoggerlogger, Exceptionexception, Func`3formatter, List`1&exceptions, TState&state)
--- End of inner exception stack trace ---
at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1exceptions)
at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Hangfire.AspNetCore.AspNetCoreLog.Log(LogLevellogLevel, Func`1messageFunc, Exceptionexception)
at Hangfire.Logging.LogExtensions.ErrorException(ILoglogger, Stringmessage, Exceptionexception)
at Hangfire.States.StateMachine.InvokeOnStateElection(KeyValuePair`2x)
Failed to change state to a 'Failed' one due to an exception after 10 retry attempts More details...
08/07/2026 02:32:45
System.AggregateException (ln0xsdlwk001rj1:1873)
An error occurred while writing to logger(s). (Index not found. (0x80131124))
System.AggregateException: An error occurred while writing to logger(s). (Index not found. (0x80131124)) ---> System.BadImageFormatException: Index not found. (0x80131124)
at System.RuntimeTypeHandle.ConstructName(QCallTypeHandlehandle, TypeNameFormatFlagsformatFlags, StringHandleOnStackretString)
at System.RuntimeTypeHandle.ConstructName(QCallTypeHandlehandle, TypeNameFormatFlagsformatFlags, StringHandleOnStackretString)
at System.RuntimeTypeHandle.ConstructName(TypeNameFormatFlagsformatFlags)
at System.RuntimeType.RuntimeTypeCache.ConstructName(String&name, TypeNameFormatFlagsformatFlags)
at System.Diagnostics.StackTrace.ToString(TraceFormattraceFormat, StringBuildersb)
at System.Exception.get_StackTrace()
at System.BadImageFormatException.ToString()
at Microsoft.Extensions.Logging.Console.SimpleConsoleFormatter.Write[TState](LogEntry`1&logEntry, IExternalScopeProviderscopeProvider, TextWritertextWriter)
at Microsoft.Extensions.Logging.Console.ConsoleLogger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Microsoft.Extensions.Logging.Logger.<Log>g__LoggerLog|14_0[TState](LogLevellogLevel, EventIdeventId, ILoggerlogger, Exceptionexception, Func`3formatter, List`1&exceptions, TState&state)
--- End of inner exception stack trace ---
at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1exceptions)
at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Hangfire.AspNetCore.AspNetCoreLog.Log(LogLevellogLevel, Func`1messageFunc, Exceptionexception)
at Hangfire.Logging.LogExtensions.ErrorException(ILoglogger, Stringmessage, Exceptionexception)
at Hangfire.States.StateMachine.InvokeOnStateElection(KeyValuePair`2x)
Failed to change state to a 'Failed' one due to an exception after 10 retry attempts More details...
08/07/2026 02:32:45
System.AggregateException (ln0xsdlwk001rj1:1873)
An error occurred while writing to logger(s). (Index not found. (0x80131124))
System.AggregateException: An error occurred while writing to logger(s). (Index not found. (0x80131124)) ---> System.BadImageFormatException: Index not found. (0x80131124)
at System.RuntimeTypeHandle.ConstructName(QCallTypeHandlehandle, TypeNameFormatFlagsformatFlags, StringHandleOnStackretString)
at System.RuntimeTypeHandle.ConstructName(QCallTypeHandlehandle, TypeNameFormatFlagsformatFlags, StringHandleOnStackretString)
at System.RuntimeTypeHandle.ConstructName(TypeNameFormatFlagsformatFlags)
at System.RuntimeType.RuntimeTypeCache.ConstructName(String&name, TypeNameFormatFlagsformatFlags)
at System.Diagnostics.StackTrace.ToString(TraceFormattraceFormat, StringBuildersb)
at System.Exception.get_StackTrace()
at System.BadImageFormatException.ToString()
at Microsoft.Extensions.Logging.Console.SimpleConsoleFormatter.Write[TState](LogEntry`1&logEntry, IExternalScopeProviderscopeProvider, TextWritertextWriter)
at Microsoft.Extensions.Logging.Console.ConsoleLogger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Microsoft.Extensions.Logging.Logger.<Log>g__LoggerLog|14_0[TState](LogLevellogLevel, EventIdeventId, ILoggerlogger, Exceptionexception, Func`3formatter, List`1&exceptions, TState&state)
--- End of inner exception stack trace ---
at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1exceptions)
at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Hangfire.AspNetCore.AspNetCoreLog.Log(LogLevellogLevel, Func`1messageFunc, Exceptionexception)
at Hangfire.Logging.LogExtensions.ErrorException(ILoglogger, Stringmessage, Exceptionexception)
at Hangfire.States.StateMachine.InvokeOnStateElection(KeyValuePair`2x)
Failed to change state to a 'Failed' one due to an exception after 10 retry attempts More details...
08/07/2026 02:32:45
System.AggregateException (ln0xsdlwk001rj1:1873)
An error occurred while writing to logger(s). (Index not found. (0x80131124))
System.AggregateException: An error occurred while writing to logger(s). (Index not found. (0x80131124)) ---> System.BadImageFormatException: Index not found. (0x80131124)
at System.RuntimeTypeHandle.ConstructName(QCallTypeHandlehandle, TypeNameFormatFlagsformatFlags, StringHandleOnStackretString)
at System.RuntimeTypeHandle.ConstructName(QCallTypeHandlehandle, TypeNameFormatFlagsformatFlags, StringHandleOnStackretString)
at System.RuntimeTypeHandle.ConstructName(TypeNameFormatFlagsformatFlags)
at System.RuntimeType.RuntimeTypeCache.ConstructName(String&name, TypeNameFormatFlagsformatFlags)
at System.Diagnostics.StackTrace.ToString(TraceFormattraceFormat, StringBuildersb)
at System.Exception.get_StackTrace()
at System.BadImageFormatException.ToString()
at Microsoft.Extensions.Logging.Console.SimpleConsoleFormatter.Write[TState](LogEntry`1&logEntry, IExternalScopeProviderscopeProvider, TextWritertextWriter)
at Microsoft.Extensions.Logging.Console.ConsoleLogger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Microsoft.Extensions.Logging.Logger.<Log>g__LoggerLog|14_0[TState](LogLevellogLevel, EventIdeventId, ILoggerlogger, Exceptionexception, Func`3formatter, List`1&exceptions, TState&state)
--- End of inner exception stack trace ---
at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1exceptions)
at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Hangfire.AspNetCore.AspNetCoreLog.Log(LogLevellogLevel, Func`1messageFunc, Exceptionexception)
at Hangfire.Logging.LogExtensions.ErrorException(ILoglogger, Stringmessage, Exceptionexception)
at Hangfire.States.StateMachine.InvokeOnStateElection(KeyValuePair`2x)
Failed to change state to a 'Failed' one due to an exception after 10 retry attempts More details...
08/07/2026 02:32:45
System.AggregateException (ln0xsdlwk001rj1:1873)
An error occurred while writing to logger(s). (Index not found. (0x80131124))
System.AggregateException: An error occurred while writing to logger(s). (Index not found. (0x80131124)) ---> System.BadImageFormatException: Index not found. (0x80131124)
at System.RuntimeTypeHandle.ConstructName(QCallTypeHandlehandle, TypeNameFormatFlagsformatFlags, StringHandleOnStackretString)
at System.RuntimeTypeHandle.ConstructName(QCallTypeHandlehandle, TypeNameFormatFlagsformatFlags, StringHandleOnStackretString)
at System.RuntimeTypeHandle.ConstructName(TypeNameFormatFlagsformatFlags)
at System.RuntimeType.RuntimeTypeCache.ConstructName(String&name, TypeNameFormatFlagsformatFlags)
at System.Diagnostics.StackTrace.ToString(TraceFormattraceFormat, StringBuildersb)
at System.Exception.get_StackTrace()
at System.BadImageFormatException.ToString()
at Microsoft.Extensions.Logging.Console.SimpleConsoleFormatter.Write[TState](LogEntry`1&logEntry, IExternalScopeProviderscopeProvider, TextWritertextWriter)
at Microsoft.Extensions.Logging.Console.ConsoleLogger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Microsoft.Extensions.Logging.Logger.<Log>g__LoggerLog|14_0[TState](LogLevellogLevel, EventIdeventId, ILoggerlogger, Exceptionexception, Func`3formatter, List`1&exceptions, TState&state)
--- End of inner exception stack trace ---
at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1exceptions)
at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Hangfire.AspNetCore.AspNetCoreLog.Log(LogLevellogLevel, Func`1messageFunc, Exceptionexception)
at Hangfire.Logging.LogExtensions.ErrorException(ILoglogger, Stringmessage, Exceptionexception)
at Hangfire.States.StateMachine.InvokeOnStateElection(KeyValuePair`2x)