Tenant:
Página global
Logs del sistema
Eventos cross-tenant registrados en la BD del sistema (system_log). El audit log por tenant se mostrará en una sección dedicada en F3.
| Timestamp | Nivel | Tenant | Categoría | Mensaje |
|---|---|---|---|---|
| 21/08/2026 18:17:35 | Warning |
system | Microsoft.EntityFrameworkCore.Query | The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. |
| 21/08/2026 18:17:35 | Warning |
system | DEAM.Preventa.Infrastructure.Push.FcmPushSender | FcmPushSender en stub mode: DeamPreventa:Push:FirebaseServiceAccountPath está vacío. Push reales no se enviarán hasta completar el setup (ver docs/FIREBASE_PUSH_SETUP.md). |
| 21/08/2026 18:17:07 | Warning |
system | Microsoft.AspNetCore.Hosting.Diagnostics | Overriding HTTP_PORTS '"8080"' and HTTPS_PORTS '""'. Binding to values defined by URLS instead '"http://+:8080"'. |
| 21/08/2026 18:11:37 | Warning |
system | Microsoft.EntityFrameworkCore.Query | The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. |
| 21/08/2026 18:11:36 | Warning |
system | DEAM.Preventa.Infrastructure.Push.FcmPushSender | FcmPushSender en stub mode: DeamPreventa:Push:FirebaseServiceAccountPath está vacío. Push reales no se enviarán hasta completar el setup (ver docs/FIREBASE_PUSH_SETUP.md). |
| 21/08/2026 18:11:09 | Warning |
system | Microsoft.AspNetCore.Hosting.Diagnostics | Overriding HTTP_PORTS '"8080"' and HTTPS_PORTS '""'. Binding to values defined by URLS instead '"http://+:8080"'. |
| 21/08/2026 17:55:15 | Warning |
system | Microsoft.EntityFrameworkCore.Query | The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. |
| 21/08/2026 17:55:15 | Warning |
system | DEAM.Preventa.Infrastructure.Push.FcmPushSender | FcmPushSender en stub mode: DeamPreventa:Push:FirebaseServiceAccountPath está vacío. Push reales no se enviarán hasta completar el setup (ver docs/FIREBASE_PUSH_SETUP.md). |
| 21/08/2026 17:54:47 | Warning |
system | Microsoft.AspNetCore.Hosting.Diagnostics | Overriding HTTP_PORTS '"8080"' and HTTPS_PORTS '""'. Binding to values defined by URLS instead '"http://+:8080"'. |
| 21/08/2026 17:44:18 | Warning |
system | Microsoft.EntityFrameworkCore.Query | The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. |
| 21/08/2026 17:44:18 | Warning |
system | DEAM.Preventa.Infrastructure.Push.FcmPushSender | FcmPushSender en stub mode: DeamPreventa:Push:FirebaseServiceAccountPath está vacío. Push reales no se enviarán hasta completar el setup (ver docs/FIREBASE_PUSH_SETUP.md). |
| 21/08/2026 17:43:50 | Warning |
system | Microsoft.AspNetCore.Hosting.Diagnostics | Overriding HTTP_PORTS '"8080"' and HTTPS_PORTS '""'. Binding to values defined by URLS instead '"http://+:8080"'. |
| 21/08/2026 17:23:01 | Warning |
system | Microsoft.EntityFrameworkCore.Query | The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. |
| 21/08/2026 17:23:00 | Warning |
system | DEAM.Preventa.Infrastructure.Push.FcmPushSender | FcmPushSender en stub mode: DeamPreventa:Push:FirebaseServiceAccountPath está vacío. Push reales no se enviarán hasta completar el setup (ver docs/FIREBASE_PUSH_SETUP.md). |
| 21/08/2026 17:22:32 | Warning |
system | Microsoft.AspNetCore.Hosting.Diagnostics | Overriding HTTP_PORTS '"8080"' and HTTPS_PORTS '""'. Binding to values defined by URLS instead '"http://+:8080"'. |
| 21/08/2026 14:41:58 | Error |
system | DEAM.Preventa.Infrastructure.Backups.BackupService | Backup falló para tenant "DOTAR" ("dotar-soluciones-sas"). · SqliteException: SQLite Error 261: 'database is locked For more information on this error code see https://www.sqlite.org/rescode.html'. |
| 20/08/2026 14:41:58 | Error |
system | DEAM.Preventa.Infrastructure.Backups.BackupService | Backup falló para tenant "DOTAR" ("dotar-soluciones-sas"). · SqliteException: SQLite Error 5: 'database is locked For more information on this error code see https://www.sqlite.org/rescode.html'. |
| 18/08/2026 14:35:28 | Warning |
system | Microsoft.EntityFrameworkCore.Query | The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. |
| 18/08/2026 14:35:28 | Warning |
system | DEAM.Preventa.Infrastructure.Push.FcmPushSender | FcmPushSender en stub mode: DeamPreventa:Push:FirebaseServiceAccountPath está vacío. Push reales no se enviarán hasta completar el setup (ver docs/FIREBASE_PUSH_SETUP.md). |
| 18/08/2026 14:35:00 | Warning |
system | Microsoft.AspNetCore.Hosting.Diagnostics | Overriding HTTP_PORTS '"8080"' and HTTPS_PORTS '""'. Binding to values defined by URLS instead '"http://+:8080"'. |
| 18/08/2026 12:24:32 | Warning |
system | Microsoft.EntityFrameworkCore.Query | The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. |
| 18/08/2026 12:24:32 | Warning |
system | DEAM.Preventa.Infrastructure.Push.FcmPushSender | FcmPushSender en stub mode: DeamPreventa:Push:FirebaseServiceAccountPath está vacío. Push reales no se enviarán hasta completar el setup (ver docs/FIREBASE_PUSH_SETUP.md). |
| 18/08/2026 12:24:05 | Warning |
system | Microsoft.AspNetCore.Hosting.Diagnostics | Overriding HTTP_PORTS '"8080"' and HTTPS_PORTS '""'. Binding to values defined by URLS instead '"http://+:8080"'. |
| 18/08/2026 11:54:08 | Warning |
system | Microsoft.EntityFrameworkCore.Query | The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. |
| 18/08/2026 11:54:08 | Warning |
system | DEAM.Preventa.Infrastructure.Push.FcmPushSender | FcmPushSender en stub mode: DeamPreventa:Push:FirebaseServiceAccountPath está vacío. Push reales no se enviarán hasta completar el setup (ver docs/FIREBASE_PUSH_SETUP.md). |
| 18/08/2026 11:53:41 | Warning |
system | Microsoft.AspNetCore.Hosting.Diagnostics | Overriding HTTP_PORTS '"8080"' and HTTPS_PORTS '""'. Binding to values defined by URLS instead '"http://+:8080"'. |
| 14/08/2026 15:40:17 | Warning |
system | Microsoft.EntityFrameworkCore.Query | The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. |
| 14/08/2026 15:40:16 | Warning |
system | DEAM.Preventa.Infrastructure.Push.FcmPushSender | FcmPushSender en stub mode: DeamPreventa:Push:FirebaseServiceAccountPath está vacío. Push reales no se enviarán hasta completar el setup (ver docs/FIREBASE_PUSH_SETUP.md). |
| 14/08/2026 15:39:49 | Warning |
system | Microsoft.AspNetCore.Hosting.Diagnostics | Overriding HTTP_PORTS '"8080"' and HTTPS_PORTS '""'. Binding to values defined by URLS instead '"http://+:8080"'. |
| 14/08/2026 15:03:58 | Warning |
system | Microsoft.EntityFrameworkCore.Query | The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. |
| 14/08/2026 15:03:58 | Warning |
system | DEAM.Preventa.Infrastructure.Push.FcmPushSender | FcmPushSender en stub mode: DeamPreventa:Push:FirebaseServiceAccountPath está vacío. Push reales no se enviarán hasta completar el setup (ver docs/FIREBASE_PUSH_SETUP.md). |
| 14/08/2026 15:03:31 | Warning |
system | Microsoft.AspNetCore.Hosting.Diagnostics | Overriding HTTP_PORTS '"8080"' and HTTPS_PORTS '""'. Binding to values defined by URLS instead '"http://+:8080"'. |
| 12/08/2026 08:04:10 | Warning |
system | Microsoft.EntityFrameworkCore.Query | The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. |
| 12/08/2026 08:04:10 | Warning |
system | DEAM.Preventa.Infrastructure.Push.FcmPushSender | FcmPushSender en stub mode: DeamPreventa:Push:FirebaseServiceAccountPath está vacío. Push reales no se enviarán hasta completar el setup (ver docs/FIREBASE_PUSH_SETUP.md). |
| 12/08/2026 08:03:43 | Warning |
system | Microsoft.AspNetCore.Hosting.Diagnostics | Overriding HTTP_PORTS '"8080"' and HTTPS_PORTS '""'. Binding to values defined by URLS instead '"http://+:8080"'. |
| 27/07/2026 10:27:39 | Warning |
system | Microsoft.EntityFrameworkCore.Query | The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. |
| 27/07/2026 10:27:38 | Warning |
system | DEAM.Preventa.Infrastructure.Push.FcmPushSender | FcmPushSender en stub mode: DeamPreventa:Push:FirebaseServiceAccountPath está vacío. Push reales no se enviarán hasta completar el setup (ver docs/FIREBASE_PUSH_SETUP.md). |
| 27/07/2026 10:27:12 | Warning |
system | Microsoft.AspNetCore.Hosting.Diagnostics | Overriding HTTP_PORTS '"8080"' and HTTPS_PORTS '""'. Binding to values defined by URLS instead '"http://+:8080"'. |
| 21/07/2026 09:48:57 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD34C"", Request id ""0HNN38M7RD34C:00000006"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 21/07/2026 09:48:57 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 21/07/2026 09:48:57 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("0"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 21/07/2026 09:47:57 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD34D"", Request id ""0HNN38M7RD34D:00000007"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 21/07/2026 09:47:57 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 21/07/2026 09:47:57 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("0"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 21/07/2026 09:45:57 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD34D"", Request id ""0HNN38M7RD34D:00000005"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 21/07/2026 09:45:57 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 21/07/2026 09:45:57 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("1"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 19:38:03 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD345"", Request id ""0HNN38M7RD345:00000154"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 19:38:03 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 19:38:03 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("2"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 13:57:02 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33T"", Request id ""0HNN38M7RD33T:00000026"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:57:02 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:57:02 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("0"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 13:48:02 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33T"", Request id ""0HNN38M7RD33T:00000016"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:48:02 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:48:02 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("0"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 13:47:02 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD340"", Request id ""0HNN38M7RD340:00000007"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:47:02 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:47:02 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("0"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 13:43:02 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD340"", Request id ""0HNN38M7RD340:00000003"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:43:02 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:43:02 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("1"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 13:36:03 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33T"", Request id ""0HNN38M7RD33T:00000007"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:36:02 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:36:02 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("0"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 13:35:04 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33U"", Request id ""0HNN38M7RD33U:00000005"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:35:04 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:35:03 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("0"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 13:24:03 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33J"", Request id ""0HNN38M7RD33J:00000031"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:24:02 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:24:02 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("0"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 13:21:03 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33J"", Request id ""0HNN38M7RD33J:0000002E"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:21:02 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:21:02 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("0"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 13:19:04 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33J"", Request id ""0HNN38M7RD33J:0000002C"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:19:04 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:19:03 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("0"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 13:12:02 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33J"", Request id ""0HNN38M7RD33J:00000021"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:12:02 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:12:02 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("0"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 13:03:04 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33J"", Request id ""0HNN38M7RD33J:00000014"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:03:04 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:03:04 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("0"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 13:01:03 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33P"", Request id ""0HNN38M7RD33P:00000005"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:01:02 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 13:01:02 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("1"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 12:59:03 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33P"", Request id ""0HNN38M7RD33P:00000002"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 12:59:02 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 12:59:02 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("1"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 12:55:14 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33K"", Request id ""0HNN38M7RD33K:00000002"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 12:55:13 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 12:55:13 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33J"", Request id ""0HNN38M7RD33J:00000008"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 12:55:13 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("0"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?' (Size = 8), @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 20/07/2026 12:55:12 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 20/07/2026 12:55:12 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("0"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?' (Size = 8), @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 18/07/2026 23:07:38 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33F"", Request id ""0HNN38M7RD33F:000000B4"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 18/07/2026 23:07:38 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 18/07/2026 23:07:38 | Error |
system | Microsoft.EntityFrameworkCore.Database.Command | Failed executing DbCommand ("25"ms) [Parameters=["@p0='?' (DbType = Guid), @p1='?' (DbType = Int64), @p2='?', @p3='?' (DbType = Guid), @p4='?' (DbType = DateTimeOffset), @p5='?' (Size = 22), @p6='?' (DbType = Int32), @p7='?' (DbType = Double), @p8='?' (DbType = Double), @p9='?', @p10='?' (DbType = DateTimeOffset), @p11='?' (Size = 11), @p12='?', @p13='?' (DbType = Guid), @p14='?' (DbType = Int32), @p15='?' (DbType = DateTimeOffset), @p16='?'"], CommandType='Text', CommandTimeout='30']" ""INSERT INTO \"visit_events\" (\"Id\", \"ChangedAtTicks\", \"ClientExternalId\", \"ClientLocalId\", \"CreatedAtUtc\", \"CreatedBy\", \"DurationSeconds\", \"Latitude\", \"Longitude\", \"Notes\", \"OccurredAtUtc\", \"PreventistaExternalId\", \"Reason\", \"RouteStopId\", \"Type\", \"UpdatedAtUtc\", \"UpdatedBy\") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16);" |
| 18/07/2026 23:07:08 | Error |
system | Microsoft.AspNetCore.Server.Kestrel | Connection id ""0HNN38M7RD33F"", Request id ""0HNN38M7RD33F:000000AF"": An unhandled exception was thrown by the application. · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |
| 18/07/2026 23:07:08 | Error |
system | Microsoft.EntityFrameworkCore.Update | An exception occurred in the database while saving changes for context type '"DEAM.Preventa.Infrastructure.Persistence.Tenant.TenantDbContext"'." ""Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: visit_events.ClientLocalId'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" · DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. |