Maybe before blindly copying scripts make sure that you have interface named “ether1” and that this “ether1” actually has an address to get.
This is not the issue.
ether1 exists on test unit with an address. your assumption is erroneous’’
[Michael@Goat-on-a-Rope] > ip address p
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 192.168.5.1/24 192.168.5.0 ether2
1 X 192.168.0.1/24 192.168.0.0 ether7
2 10.234.123.2/30 10.234.123.0 ether1
3 10.234.123.6/30 10.234.123.4 ether9-WAN MESA1
4 D 10.0.0.100/20 10.0.0.0 ether9-WAN MESA1
5 D 192.168.77.253/24 192.168.77.0 ether1
[Michael@Goat-on-a-Rope] > interface p
Flags: D - dynamic, X - disabled, R - running, S - slave
# NAME TYPE ACTUAL-MTU L2MTU MAX-L2MTU MAC-ADDRESS
0 R ;;; ether1-WAN_WT
ether1 ether 1500 1520 1520 D4:CA:6D:59:FD:97
1 RS ether2 ether 1500 1520 1520 D4:CA:6D:59:FD:98
2 S ether3 ether 1500 1520 1520 D4:CA:6D:59:FD:99
3 RS ether4 ether 1500 1520 1520 D4:CA:6D:59:FD:9A
4 RS ether5 ether 1500 1520 1520 D4:CA:6D:59:FD:9B
5 ether6 ether 1500 1520 1520 D4:CA:6D:59:FD:9C
6 ether7 ether 1500 1520 1520 D4:CA:6D:59:FD:9D
7 X ether8-WAN3 GBAP ether 1500 1520 1520 D4:CA:6D:59:FD:9E
8 R ether9-WAN MESA1 ether 1500 1520 1520 D4:CA:6D:59:FD:9F
9 RS wlan1 wlan 1500 1600 00:0C:42:51:B2:34
10 X *********************************
11 R bridge1 bridge 1500 1520 D4:CA:6D:59:FD:98
[Michael@Goat-on-a-Rope] > {
{... :local address1 [/ip address get [find interface="ether1"] address]
{... :put $address1
{... }
invalid internal item number
[Michael@Goat-on-a-Rope] >