# Unable to manage Mikrotik configuration through the api with Node-Red

**URL:** <https://discourse.nodered.org/t/unable-to-manage-mikrotik-configuration-through-the-api-with-node-red/96049>\
**Category:** General\
**Tags:** function-node, api\
**Created:** [17 March 2025 05:10 UTC](https://discourse.nodered.org/t/unable-to-manage-mikrotik-configuration-through-the-api-with-node-red/96049 "2025-03-17T05:10:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![klaucode](https://avatars.discourse-cdn.com/v4/letter/k/a698b9/32.png) [@klaucode](https://discourse.nodered.org/u/klaucode)\
**Post date:** [17 March 2025 05:10 UTC](https://discourse.nodered.org/t/unable-to-manage-mikrotik-configuration-through-the-api-with-node-red/96049/1 "2025-03-17T05:10:28Z")

</div>

Hello,

I would like to ask about help, with communication with mikrotik. I found Node-Red package `node-red-contrib-mikrotik` and I'm able read data or write some configuration. But in another cases, I'm unable to send the commands. Problem is I think in parameters, which I'm using in bad way in Node-Red (but for sure, parameters it's self are ok - I tested it directly inside mikrotik console, and they are working).

Some examples:

```auto
// It works
msg = {
    "payload": {
    "command": [
        `/ip/firewall/mangle/print`
        ]
    }
}

```

```auto
// It works
msg = {
    "payload": {
    "command": [
        `/ip/firewall/mangle/remove`,
        "=numbers=0"
        ]
    }
}

```

BUT:

```auto
// It' does'nt works (is this command with *88 unsupported in NodeRed or I'm entering it with bad way)?
msg = {
    "payload": {
    "command": [
        `/ip/firewall/mangle/remove`,
        "=*88"
        ]
    }
}

```

```auto
// It also does'n works (is this command with [...find] parameter unsupported in NodeRed) ?
msg = {
    "payload": {
        "command": [
            "/ip/firewall/mangle/remove",
            "=[find new-packet-mark=blabla]"
            ]
    }
}

```

Thanks a lot for an each help.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 June 2025 05:11 UTC](https://discourse.nodered.org/t/unable-to-manage-mikrotik-configuration-through-the-api-with-node-red/96049/2 "2025-06-15T05:11:05Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
