← centrs docs

routeros/permission-denied

RouterOS refused the command because the user's group lacks a policy it needs. The router answered, and a retry gives the same result. A single refused command did not run. A multi-statement script run through /execute can be partly applied: statements before the refused one already ran.

Typical RouterOS strings

Over REST both arrive as HTTP 500 with the string in detail; over the native API as a !trap. Grounded on CHR 7.23.8, 7.25, 7.26beta1 and 7.26beta3.

Fix

Grant the missing policy to the user's group in /user/group: read for reads, write for changes. Before 7.26beta3 a REST user needs both api and rest-api. Avoid the built-in read group for a least-privilege user: it also carries reboot, sensitive, password and others.