How to set a push replication filter with REST api in Couchbase Lite?

@jens we sse this issue in iOS as well… pls share your thoughts… are we missing something here?

[03/07 07:49:33:932] [T 0x15dd7990] Type-WARNING , Message-CBLDatabase[<0x15ee1d70>ptxdata]: 'pushfilter/bystate' {at -[CBL_ReplicatorSettings compilePushFilterForDatabase:status:]:240}
[03/07 07:49:34:223] [T 0x15dd7990] Type-WARNING , Message-Exception caught in CBL_Router:
Invalid parameter not satisfying: db