[Bug]: API doesn't support rules using "doesNotContain" #769

Closed
opened 2026-02-28 19:18:33 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @newb23 on GitHub (Nov 27, 2023).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

I have setup up a rule to change category if payee doesNotContain:'string(s)' while importing transactions when utilizing API.

Transactions are imported BUT said rule is not applied to them as an error message is repeated once per transaction:
Found invalid operation while ranking: doesNotContain

What error did you receive?

Found invalid operation while ranking: doesNotContain

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Other

Operating System

Windows 11

Originally created by @newb23 on GitHub (Nov 27, 2023). ### Verified issue does not already exist? - [X] I have searched and found no existing issue ### What happened? I have setup up a rule to change category if payee `doesNotContain:'string(s)'` while importing transactions when utilizing API. Transactions are imported BUT said rule is not applied to them as an error message is repeated once per transaction: `Found invalid operation while ranking: doesNotContain` ### What error did you receive? `Found invalid operation while ranking: doesNotContain` ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Other ### Operating System Windows 11
GiteaMirror added the bug label 2026-02-28 19:18:34 -06:00
Author
Owner

@carkom commented on GitHub (Nov 28, 2023):

Can you check that the linked PR fixes your issue?

@carkom commented on GitHub (Nov 28, 2023): Can you check that the linked PR fixes your issue?
Author
Owner

@newb23 commented on GitHub (Dec 4, 2023):

@carkom
I apologize in my delay of response, but I saw that this fix was merged into v23.12.0.
Unfortunately, I am still seeing this bug present even after updating to the current version.

Client version: v23.12.0
Server version: v23.12.0
...
| Acorns                    |         0 |         0 |
Found invalid operation while ranking: doesNotContain
| Victory Capital           |         0 |         0 |
Found invalid operation while ranking: doesNotContain
| Blue Cash Preferred       |         0 |         0 |
...

The rest of the behavior is the same; transactions are imported, but not categorized.

@newb23 commented on GitHub (Dec 4, 2023): @carkom I apologize in my delay of response, but I saw that this fix was merged into v23.12.0. Unfortunately, I am still seeing this bug present even after updating to the current version. ``` Client version: v23.12.0 Server version: v23.12.0 ``` ``` ... | Acorns | 0 | 0 | Found invalid operation while ranking: doesNotContain | Victory Capital | 0 | 0 | Found invalid operation while ranking: doesNotContain | Blue Cash Preferred | 0 | 0 | ... ``` The rest of the behavior is the same; transactions are imported, but not categorized.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#769