There are two main ways to do this.
API login fails but WinBox works. Cause: API requires percent-encoding for @ # % & . Solution: Change password or URL-encode properly. mikrotik error wrong username or password
If you still cannot log in, a hardware reset is the standard way to restore default credentials. ERROR: wrong username or password - MikroTik Forum There are two main ways to do this