IMenuParsingBackgroundJob.ProcessAsync

The job is finished. It will be removed automatically 01/01/0001 00:00:00.
// Id: #6
using MenuOcr.Api.Application.Abstractions;

var menuParsingBackgroundJob = Activate<IMenuParsingBackgroundJob>();
await menuParsingBackgroundJob.ProcessAsync(
    FromJson<Guid>("\"4a834989-250b-41e4-972c-4fc2bb773755\""));

Parameters

CurrentCulture
""
RetryCount
10

State

02/24/2026 05:13:24 (+17m 10.667s) Failed

An exception occurred during performance of the job.

System.Text.Json.JsonReaderException (b7ac1e229432:1)

Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 783 | BytePositionInLine: 19.

System.Text.Json.JsonReaderException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 783 | BytePositionInLine: 19.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options)
   at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
   at MenuOcr.Api.Application.Services.MenuResultParser.ParseItems(String rawModelOutput) in /src/src/MenuOcr.Api/Application/Services/MenuResultParser.cs:line 24
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 76
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 133
   at MenuOcr.Api.Background.MenuParsingBackgroundJob.ProcessAsync(Guid jobId) in /src/src/MenuOcr.Api/Background/MenuParsingBackgroundJob.cs:line 11
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+557ms Processing

Server:
b7ac1e229432:1
Worker:
df05fa54

+1h 51m Enqueued

Triggered by DelayedJobScheduler

+6ms Scheduled

Retry attempt 10 of 10: Expected depth to be zero at the end of the JSON …

Enqueue at:
02/24/2026 04:56:04

+14m 47.950s Failed

An exception occurred during performance of the job.

System.Text.Json.JsonReaderException (b7ac1e229432:1)

Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 753 | BytePositionInLine: 19.

System.Text.Json.JsonReaderException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 753 | BytePositionInLine: 19.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options)
   at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
   at MenuOcr.Api.Application.Services.MenuResultParser.ParseItems(String rawModelOutput) in /src/src/MenuOcr.Api/Application/Services/MenuResultParser.cs:line 24
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 76
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 133
   at MenuOcr.Api.Background.MenuParsingBackgroundJob.ProcessAsync(Guid jobId) in /src/src/MenuOcr.Api/Background/MenuParsingBackgroundJob.cs:line 11
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+83ms Processing

Server:
b7ac1e229432:1
Worker:
df05fa54

+1h 9m Enqueued

Triggered by DelayedJobScheduler

+5ms Scheduled

Retry attempt 9 of 10: Expected depth to be zero at the end of the JSON …

Enqueue at:
02/24/2026 02:49:28

+13m 31.713s Failed

An exception occurred during performance of the job.

System.Text.Json.JsonReaderException (b7ac1e229432:1)

Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 744 | BytePositionInLine: 19.

System.Text.Json.JsonReaderException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 744 | BytePositionInLine: 19.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options)
   at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
   at MenuOcr.Api.Application.Services.MenuResultParser.ParseItems(String rawModelOutput) in /src/src/MenuOcr.Api/Application/Services/MenuResultParser.cs:line 24
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 76
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 133
   at MenuOcr.Api.Background.MenuParsingBackgroundJob.ProcessAsync(Guid jobId) in /src/src/MenuOcr.Api/Background/MenuParsingBackgroundJob.cs:line 11
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+116ms Processing

Server:
b7ac1e229432:1
Worker:
df05fa54

+42m 45.068s Enqueued

Triggered by DelayedJobScheduler

+6ms Scheduled

Retry attempt 8 of 10: Expected depth to be zero at the end of the JSON …

Enqueue at:
02/24/2026 01:26:17

+15m 20.523s Failed

An exception occurred during performance of the job.

System.Text.Json.JsonReaderException (b7ac1e229432:1)

Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 744 | BytePositionInLine: 19.

System.Text.Json.JsonReaderException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 744 | BytePositionInLine: 19.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options)
   at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
   at MenuOcr.Api.Application.Services.MenuResultParser.ParseItems(String rawModelOutput) in /src/src/MenuOcr.Api/Application/Services/MenuResultParser.cs:line 24
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 76
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 133
   at MenuOcr.Api.Background.MenuParsingBackgroundJob.ProcessAsync(Guid jobId) in /src/src/MenuOcr.Api/Background/MenuParsingBackgroundJob.cs:line 11
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+10.820s Processing

Server:
b7ac1e229432:1
Worker:
df05fa54

+25m 19.233s Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

Retry attempt 7 of 10: Expected depth to be zero at the end of the JSON …

Enqueue at:
02/24/2026 00:28:01

+15m 47.472s Failed

An exception occurred during performance of the job.

System.Text.Json.JsonReaderException (b7ac1e229432:1)

Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 744 | BytePositionInLine: 19.

System.Text.Json.JsonReaderException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 744 | BytePositionInLine: 19.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options)
   at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
   at MenuOcr.Api.Application.Services.MenuResultParser.ParseItems(String rawModelOutput) in /src/src/MenuOcr.Api/Application/Services/MenuResultParser.cs:line 24
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 76
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 133
   at MenuOcr.Api.Background.MenuParsingBackgroundJob.ProcessAsync(Guid jobId) in /src/src/MenuOcr.Api/Background/MenuParsingBackgroundJob.cs:line 11
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+9.284s Processing

Server:
b7ac1e229432:1
Worker:
f234cc8b

+10m 50.775s Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

Retry attempt 6 of 10: Expected depth to be zero at the end of the JSON …

Enqueue at:
02/23/2026 23:46:45

+15m 558ms Failed

An exception occurred during performance of the job.

System.Text.Json.JsonReaderException (b7ac1e229432:1)

Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 744 | BytePositionInLine: 19.

System.Text.Json.JsonReaderException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 744 | BytePositionInLine: 19.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options)
   at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
   at MenuOcr.Api.Application.Services.MenuResultParser.ParseItems(String rawModelOutput) in /src/src/MenuOcr.Api/Application/Services/MenuResultParser.cs:line 24
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 76
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 133
   at MenuOcr.Api.Background.MenuParsingBackgroundJob.ProcessAsync(Guid jobId) in /src/src/MenuOcr.Api/Background/MenuParsingBackgroundJob.cs:line 11
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+9.280s Processing

Server:
b7ac1e229432:1
Worker:
f234cc8b

+5m 35.761s Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

Retry attempt 5 of 10: Expected depth to be zero at the end of the JSON …

Enqueue at:
02/23/2026 23:20:45

+16m 6.292s Failed

An exception occurred during performance of the job.

System.Text.Json.JsonReaderException (b7ac1e229432:1)

Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 753 | BytePositionInLine: 19.

System.Text.Json.JsonReaderException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 753 | BytePositionInLine: 19.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options)
   at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
   at MenuOcr.Api.Application.Services.MenuResultParser.ParseItems(String rawModelOutput) in /src/src/MenuOcr.Api/Application/Services/MenuResultParser.cs:line 24
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 76
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 133
   at MenuOcr.Api.Background.MenuParsingBackgroundJob.ProcessAsync(Guid jobId) in /src/src/MenuOcr.Api/Background/MenuParsingBackgroundJob.cs:line 11
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+3.457s Processing

Server:
b7ac1e229432:1
Worker:
f234cc8b

+3m 26.574s Enqueued

Triggered by DelayedJobScheduler

+6ms Scheduled

Retry attempt 4 of 10: Expected depth to be zero at the end of the JSON …

Enqueue at:
02/23/2026 22:58:57

+15m 15.549s Failed

An exception occurred during performance of the job.

System.Text.Json.JsonReaderException (b7ac1e229432:1)

Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 744 | BytePositionInLine: 19.

System.Text.Json.JsonReaderException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 744 | BytePositionInLine: 19.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options)
   at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
   at MenuOcr.Api.Application.Services.MenuResultParser.ParseItems(String rawModelOutput) in /src/src/MenuOcr.Api/Application/Services/MenuResultParser.cs:line 24
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 76
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 133
   at MenuOcr.Api.Background.MenuParsingBackgroundJob.ProcessAsync(Guid jobId) in /src/src/MenuOcr.Api/Background/MenuParsingBackgroundJob.cs:line 11
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+3.336s Processing

Server:
b7ac1e229432:1
Worker:
f234cc8b

+1m 56.684s Enqueued

Triggered by DelayedJobScheduler

+5ms Scheduled

Retry attempt 3 of 10: Expected depth to be zero at the end of the JSON …

Enqueue at:
02/23/2026 22:40:08

+14m 35.422s Failed

An exception occurred during performance of the job.

System.Text.Json.JsonReaderException (b7ac1e229432:1)

Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 753 | BytePositionInLine: 19.

System.Text.Json.JsonReaderException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 753 | BytePositionInLine: 19.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options)
   at MenuOcr.Api.Application.Services.MenuResultParser.ParseItems(String rawModelOutput) in /src/src/MenuOcr.Api/Application/Services/MenuResultParser.cs:line 24
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 76
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 133
   at MenuOcr.Api.Background.MenuParsingBackgroundJob.ProcessAsync(Guid jobId) in /src/src/MenuOcr.Api/Background/MenuParsingBackgroundJob.cs:line 11
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+13.317s Processing

Server:
b7ac1e229432:1
Worker:
f234cc8b

+1m 15.457s Enqueued

Triggered by DelayedJobScheduler

+7ms Scheduled

Retry attempt 2 of 10: Expected depth to be zero at the end of the JSON …

Enqueue at:
02/23/2026 22:23:30

+11m 16.271s Failed

An exception occurred during performance of the job.

System.Text.Json.JsonReaderException (b7ac1e229432:1)

Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 783 | BytePositionInLine: 19.

System.Text.Json.JsonReaderException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 783 | BytePositionInLine: 19.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options)
   at MenuOcr.Api.Application.Services.MenuResultParser.ParseItems(String rawModelOutput) in /src/src/MenuOcr.Api/Application/Services/MenuResultParser.cs:line 24
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 76
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 133
   at MenuOcr.Api.Background.MenuParsingBackgroundJob.ProcessAsync(Guid jobId) in /src/src/MenuOcr.Api/Background/MenuParsingBackgroundJob.cs:line 11
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+13.608s Processing

Server:
b7ac1e229432:1
Worker:
2218da28

+30.092s Enqueued

Triggered by DelayedJobScheduler

+10ms Scheduled

Retry attempt 1 of 10: Expected depth to be zero at the end of the JSON …

Enqueue at:
02/23/2026 22:10:36

+15m 16.308s Failed

An exception occurred during performance of the job.

System.Text.Json.JsonReaderException (b7ac1e229432:1)

Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 744 | BytePositionInLine: 19.

System.Text.Json.JsonReaderException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 744 | BytePositionInLine: 19.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options)
   at MenuOcr.Api.Application.Services.MenuResultParser.ParseItems(String rawModelOutput) in /src/src/MenuOcr.Api/Application/Services/MenuResultParser.cs:line 24
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 76
   at MenuOcr.Api.Application.Services.MenuJobProcessor.ProcessAsync(Guid jobId, CancellationToken cancellationToken) in /src/src/MenuOcr.Api/Application/Services/MenuJobProcessor.cs:line 133
   at MenuOcr.Api.Background.MenuParsingBackgroundJob.ProcessAsync(Guid jobId) in /src/src/MenuOcr.Api/Background/MenuParsingBackgroundJob.cs:line 11
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+485ms Processing

Server:
b7ac1e229432:1
Worker:
3f43f83b

-60d 3h 17m Enqueued

04/25/2026 01:12:46 Created