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
writepolicy 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
.idchanged
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
- In RouterOS, open System > Users > Groups
- Confirm the service user's group has
write,rest-api, andreadpolicies enabled - 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.