Ash FrameworkAF
Ash Framework3y ago
12 replies
Blibs

AshPhoenix.Form fails to submit with Ash.Error.Query.InvalidFilterValue error

Hey there, I'm not sure exactly what is happenig, but I have a embedded resource that was inserted into my resource, when I try to update it via AshPhoenix, by first calling AshPhoenix.Form.remove_form and then AshPhoenix.Form.submit, I get this error:

[warning] Unhandled error in form submission for Marketplace.Markets.Property.update

This error was unhandled because it did not implement the `AshPhoenix.FormData.Error` protocol.

** (Ash.Error.Query.InvalidFilterValue) Invalid filter value `nil` supplied in `#Ecto.Changeset<action: nil, changes: %{updated_at: ~U[2023-09-19 00:18:43.738483Z], off_market: nil, processing_status: :running}, errors: [], data: #Marketplace.Markets.Property<>, valid?: true>`


Any idea on what can be the issue here? I'm trying to create a small example that triggers this but without too much success.
Was this page helpful?