Problem

RouterOS API is not working or connection to the device through API fails.

Solution

Make sure to use correct authentication method as it has changed since RouterOS v6.43

To connect to RouterOS V6.43 or later:

/login
=name=admin
=password=
 !done


  1. client sends username and password in first message.
  2. Password is sent in plain text.
  3. in case of error, reply contains =message=error message.
  4. In case of successful login client can start to issue commands.

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.



Related issues