# Ative address-list find and API queries fail with "no such item (4)" during natural entry expiry — SUP-226958

**URL:** <https://forum.mikrotik.com/t/ative-address-list-find-and-api-queries-fail-with-no-such-item-4-during-natural-entry-expiry-sup-226958/274277>\
**Category:** General\
**Created:** [November 5, 2026, 7:38am UTC](https://forum.mikrotik.com/t/ative-address-list-find-and-api-queries-fail-with-no-such-item-4-during-natural-entry-expiry-sup-226958/274277 "2026-11-05T07:38:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![peri](https://forum.mikrotik.com/letter_avatar/peri/32/6_449c533f586939b6e5f246632a46421f.png) [@peri](https://forum.mikrotik.com/u/peri)\
**Post date:** [November 8, 2026, 3:16am UTC](https://forum.mikrotik.com/t/ative-address-list-find-and-api-queries-fail-with-no-such-item-4-during-natural-entry-expiry-sup-226958/274277/3 "2026-11-08T03:16:03Z")

</div>

Thank you for your questions. I am providing the exact executed reproduction script and its corresponding results so that the

behavior can be checked directly.

Attachment: reproduce-1000.rsc

**### Exact query values**

The script explicitly assigns:

:local targetList "CX78SIZE\_20261027\_HST"

:local ipAddress "18.65.112.43"

The failing statement is:

:local found [/ip firewall address-list find list=$targetList address=$ipAddress]

This query uses the list name and address, not a previously saved internal ID.

**### Test setup**

The recorded run used CHR on QEMU, RouterOS 7.25.

The script creates 1,000 address-list entries:

List Entries Timeout

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━━━━━━ ━━━━━━━━━━━━

CX78SIZE\_20261027\_HST 233 2 minutes

───────────────────────────────────────────── ───────── ────────────

CX78SIZE\_20261027\_HST — target 18.65.112.43 1 10 minutes

───────────────────────────────────────────── ───────── ────────────

CX78SIZE\_20261027\_OTHER 766 2 minutes

Before observation, the script checks the initial list counts and saves the matching target’s ID.

It then repeatedly queries by list and address for up to 300 seconds, with a 20 ms delay per completed iteration. During

observation, it does not actively delete, modify, or recreate entries. The short-lived entries expire naturally.

The saved target ID is used only to compare successful query results. It is not an input to the failing find statement.

**### Recorded result**

Original logs, dated 2026-10-27, UTC+08:00:

17:06:40 script,info CX78SIZE\_20261027|observing|initial-hst=234|initial-other=766|seed-elapsed=00:00:00.320753781

17:08:49 script,error CX78SIZE\_20261027|failed|stage=find-target|calls=2405|elapsed=00:02:09.527253938|error=no such item (4)

The failure occurred after 2,405 successful lookups, approximately 129.5 seconds after seeding began.

The logged stage was find-target, before the subsequent check-target stage. During cleanup, the target was still present with

7m50s remaining.

**### Scope of the conclusion**

This run records a failure at the conditional find statement, before the subsequent result check. It does not establish the

internal RouterOS cause.

I agree that internal IDs should not be assumed to remain valid indefinitely. This report does not rely on that assumption, nor

does it claim a particular cursor, index, or expiry-cleanup mechanism.

An earlier 1,000-entry run completed without the error. Therefore:

• Reproduction is not guaranteed on every run.

• No deterministic entry-count threshold has been established.

• This specific result was obtained on RouterOS 7.25; the latest release has not yet been specifically tested.

**### Running the attachment**

Please use a disposable lab instance. The script creates temporary configuration and may trigger address-list read failures.

Ensure that no existing entries use either of the two test list names. Paste the complete attached file into a System Script with

read,write,test permissions and run it once.

The script logs and rethrows a failure; it does not retry or automatically clean up. After collecting the results, restore the lab

snapshot or remove only the entries in the two named test lists and the test script.

Could you check whether this behavior is reproducible in your environment? The related MikroTik support ticket is SUP-226958.

[reproduce-1000.rsc](https://forum.mikrotik.com/uploads/short-url/rfihHFHOfVT3CPEtS7whdFgTLbH.rsc) (3.1 KB)

---

_[View the full topic](https://forum.mikrotik.com/t/ative-address-list-find-and-api-queries-fail-with-no-such-item-4-during-natural-entry-expiry-sup-226958/274277)._
