[β
solved]
I got stuck last week trying to figure out why a standard slug (single line text) from Baserow just worked fine in Webstudio, while doing a slug (formula) gave me this error.
ERROR_VIEW_FILTER_TYPE_UNSUPPORTED_FIELD
The filter equal is not compatible with field type formula
Formulas are much easier to deal with in the long run.
Long story short, a single line text in Webstudio is type
string
, while formula in Webstudio is type
array
. And then in this resource url that has
equal
, needs to be changed to
has_value_equal
.
Original that gave me error
https://api.baserow.io/api/database/rows/table/387xxx/?user_field_names=false&filters={"filter_type":"AND","filters":[{"type":"equal","field":"2941xxx","value":"amazing-slug"}],"groups":[]}
Change to:
https://api.baserow.io/api/database/rows/table/387xxx/?user_field_names=false&filters={"filter_type":"AND","filters":[{"type":"has_value_equal","field":"2941xxx","value":"amazing-slug"}],"groups":[]}
Hope this might help someone later on searching this discord for this error π