Can't set client rate limit with controller API
Can't set client rate limit with controller API
I'm trying to set a client's rate limit through the api (with python), but I keep getting a weird error message:
{"errorCode":-1001,"msg":"Parameter [mode] could not be null.\n"}
This error code isn't in the API documentation. I'll post the code in a comment below.
I feel like I have everything set IAW the documentation, but I'm kind of at a loss here. I've tried it with the mac address both in upper and lower case, same error. Tried changing the "true" to True and 1, same error. Other API calls works, it's just rate limit that is giving me issues.
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Hi, everyone.
It seems to be the same issue that @CyberAustin mentioned.
I’m using the Omada Cloud Controller with the mbentley/omada-controller:5.15.24.19 Docker image:
https://hub.docker.com/layers/mbentley/omada-controller/5.15.24.19
My n8n workflow tries to remove a rate limit for a wireless client and sends the following PATCH request:
{
"body": {
"rateLimitId": "",
"enable": false,
"upEnable": false,
"upUnit": 1,
"upLimit": 0,
"downEnable": false,
"downUnit": 1,
"downLimit": 0
},
"headers": {
"authorization": "**hidden**",
"accept": "application/json,text/html,application/xhtml+xml,application/xml,text/*;q=0.9, image/*;q=0.8, */*;q=0.7"
},
"method": "PATCH",
"uri": "https://omadacloud.************/openapi/v1/c***********************7/sites/6**********************7/clients/C*-**-**-**-**-*8/ratelimit",
"gzip": true,
"rejectUnauthorized": true,
"followRedirect": true,
"resolveWithFullResponse": true,
"followAllRedirects": true,
"timeout": 300000,
"encoding": null,
"json": false,
"useStream": true
}
The response message is:
{
"errorCode": -1001,
"msg": "Parameter [mode] could not be null.\n"
}
I’m following this thread and really looking forward to a solution :)

- Copy Link
- Report Inappropriate Content
@O_Cabeca_BR Join the queue friend. Hopefully @Vincent-TP gets back soon about that bug report.
- Copy Link
- Report Inappropriate Content
This is fixed by the newly release firmware today, below is the link:
Omada SDN Controller_V6.0.0.x Pre-Release Firmware (Update on 31st Oct, 2025)
Thank you so much for your feedback.
- Copy Link
- Report Inappropriate Content
@Vincent-TP awesome!
- Copy Link
- Report Inappropriate Content
Information
Helpful: 1
Views: 538
Replies: 14
