Skip to main content

MIKRO102 - Failed to Remove MikroTik Address-List Entry

Agent error code #MIKRO102 indicates that the agent located an address-list entry to delete but the DELETE /rest/ip/firewall/address-list/<id> call failed.

Common causes include:

  • The user lacks the write policy on its group
  • The entry was already removed by another tool or operator between the read and the delete
  • The router rebooted between the read and the delete and the in-memory .id changed

A missing entry on delete is not a hard error in Knocknoc. The agent treats it as a no-op. Receiving this error means the call itself failed with a non-404 status.

Steps to Resolve

Verify Write Permissions

  1. In RouterOS, open System > Users > Groups
  2. Confirm the service user's group has write, rest-api, and read policies enabled
  3. Save and retry

Inspect the Agent Log

The agent logs the full RouterOS error message under the operation remove entry <address>. Search the agent log for that operation to see the underlying message/detail returned by RouterOS.

Check for Concurrent Changes

If another tool also manages the same address-list (a config sync system, another integration, a manual cleanup script), conflicts will produce intermittent #MIKRO102 errors. Either give Knocknoc exclusive ownership of the list or co-ordinate the schedules so the two tools do not race.

Still Having Issues?

We can help you out, contact us at support@knocknoc.io.