29) test editing invoice details handles errors when updating detail (AdminWeb.InvoicesLive.EditTest) test/admin_web/live/invoices_live/edit_test.exs:214 ** (Ash.Error.Unknown) Bread Crumbs: > Error returned from: Admin.Resources.Timer.read Unknown Error * ** (DBConnection.EncodeError) Postgrex expected an integer in -9223372036854775808..9223372036854775807, got "cancelled". Please make sure the value you are passing matches the definition in your table or in your query or convert the value accordingly. (postgrex 0.21.1) lib/postgrex/type_module.ex:1084: Postgrex.DefaultTypes.encode_list/3 (postgrex 0.21.1) lib/postgrex/extensions/array.ex:88: Postgrex.Extensions.Array.encode/4 (postgrex 0.21.1) lib/postgrex/extensions/array.ex:58: Postgrex.Extensions.Array.encode/3 (postgrex 0.21.1) lib/postgrex/type_module.ex:1084: Postgrex.DefaultTypes.encode_params/3 (postgrex 0.21.1) lib/postgrex/query.ex:75: DBConnection.Query.Postgrex.Query.encode/3 (db_connection 2.8.1) lib/db_connection.ex:1446: DBConnection.encode/5 (db_connection 2.8.1) lib/db_connection.ex:1546: DBConnection.run_prepare_execute/5 (db_connection 2.8.1) lib/db_connection.ex:1650: DBConnection.run/6 (db_connection 2.8.1) lib/db_connection.ex:769: DBConnection.parsed_prepare_execute/5 (db_connection 2.8.1) lib/db_connection.ex:761: DBConnection.prepare_execute/4 (ecto_sql 3.13.2) lib/ecto/adapters/postgres/connection.ex:102: Ecto.Adapters.Postgres.Connection.prepare_execute/5 (ecto_sql 3.13.2) lib/ecto/adapters/sql.ex:1004: Ecto.Adapters.SQL.execute!/5 (ecto_sql 3.13.2) lib/ecto/adapters/sql.ex:996: Ecto.Adapters.SQL.execute/6 (ecto 3.13.3) lib/ecto/repo/queryable.ex:241: Ecto.Repo.Queryable.execute/4 (ecto 3.13.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3 (ash_postgres 2.6.19) lib/data_layer.ex:828: anonymous fn/3 in AshPostgres.DataLayer.run_query/2 (ash_postgres 2.6.19) lib/data_layer.ex:827: AshPostgres.DataLayer.run_query/2 (ash 3.5.41) lib/ash/actions/read/read.ex:3988: Ash.Actions.Read.run_query/4 (ash 3.5.41) lib/ash/actions/read/read.ex:729: anonymous fn/9 in Ash.Actions.Read.do_read/5 (ash 3.5.41) lib/ash/actions/read/read.ex:1495: Ash.Actions.Read.maybe_in_transaction/3 stacktrace: (ash 3.5.41) lib/ash/error/unknown.ex:3: Ash.Error.Unknown."exception (overridable 2)"/1 (ash 3.5.41) /Users/herman/Projects/admin/deps/splode/lib/splode.ex:264: Ash.Error.to_class/2 (ash 3.5.41) lib/ash/error/error.ex:108: Ash.Error.to_error_class/2 (ash 3.5.41) lib/ash/actions/read/read.ex:489: anonymous fn/3 in Ash.Actions.Read.do_run/3 (ash 3.5.41) lib/ash/actions/read/read.ex:438: Ash.Actions.Read.do_run/3 (ash 3.5.41) lib/ash/actions/read/read.ex:86: anonymous fn/3 in Ash.Actions.Read.run/3 (ash 3.5.41) lib/ash/actions/read/read.ex:85: Ash.Actions.Read.run/3 (ash 3.5.41) lib/ash.ex:2772: Ash.read/2 (ash 3.5.41) lib/ash.ex:2707: Ash.read!/2 (admin 0.1.0) lib/admin/timers.ex:86: Admin.Timers.list_for_customer/1 (admin 0.1.0) lib/admin_web/live/invoices_live/edit.ex:30: AdminWeb.InvoicesLive.Edit.mount/3 (phoenix_live_view 1.1.12) lib/phoenix_live_view/utils.ex:348: anonymous fn/6 in Phoenix.LiveView.Utils.maybe_call_live_view_mount!/5 (telemetry 1.3.0) /Users/herman/Projects/admin/deps/telemetry/src/telemetry.erl:324: :telemetry.span/3 (phoenix_live_view 1.1.12) lib/phoenix_live_view/static.ex:324: Phoenix.LiveView.Static.call_mount_and_handle_params!/5 (phoenix_live_view 1.1.12) lib/phoenix_live_view/static.ex:155: Phoenix.LiveView.Static.do_render/4 (phoenix_live_view 1.1.12) lib/phoenix_live_view/controller.ex:39: Phoenix.LiveView.Controller.live_render/3 (phoenix 1.8.1) lib/phoenix/router.ex:416: Phoenix.Router.__call__/5 (admin 0.1.0) lib/admin_web/endpoint.ex:1: AdminWeb.Endpoint.plug_builder_call/2 (admin 0.1.0) lib/admin_web/endpoint.ex:1: AdminWeb.Endpoint.call/2