There is a difference when exporting a config file in the terminal and over the API. In the terminal the wireess section has a disabled=no whereas the API version has disabled=false which throws an error!!!
Is this a bug???
See the two versions
###Terminal version
MMM MMM KKK TTTTTTTTTTT KKK
MMMM MMMM KKK TTTTTTTTTTT KKK
MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK
MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK
MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK
MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK
MikroTik RouterOS 6.42.4 (c) 1999-2018 http://www.mikrotik.com/
[?] Gives the list of available commands
command [?] Gives help on the command and list of arguments
[Tab] Completes the command/word. If the input is ambiguous,
a second [Tab] gives possible options
/ Move up to base level
.. Move up one level
/command Use command at the base level
[admin@MikroTik] > export compact
jun/27/2018 09:54:08 by RouterOS 6.42.4
software id = PI4Q-D9NZ
model = 2011UiAS-2HnD
serial number = 7316078B59EB
/interface bridge
add admin-mac=64:D1:54:0B:5E:A7 auto-mac=no comment=defconf name=bridge
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce disabled=no distance=indoors frequency=auto mode=ap-bridge ssid=MikroTik-0B5EB0
wireless-protocol=802.11
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
####API Version
jun/27/2018 09:48:28 by RouterOS 6.42.2
software id = PI4Q-D9NZ
model = 2011UiAS-2HnD
serial number = 7316078B59EB
/interface bridge
add admin-mac=64:D1:54:0B:5E:A7 auto-mac=false comment=defconf name=bridge
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce
disabled=false distance=indoors frequency=auto mode=ap-bridge ssid=
MikroTik-0B5EB0 wireless-protocol=802.11
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=true ] supplicant-identity=MikroTik