See here
Need to run from Global VDOM
FW2 # c g
FW2 (global) # diagnose internet-service match VDOM 54.69.189.203 255.255.255.255 Internet Service: 393217(Amazon-Web), matched num: 1
FW2 (global) # diagnose internet-service id | grep -i unifi ID: 7340160 name: "Ubiquiti-UniFi"
FW2 (global) # diagnose internet-service id 7340160 Version: 00007.01716 Timestamp: 202107162231 Number of Entries: 1 Internet Service: 7340160(Ubiquiti-UniFi) Protocol: 6 Port: 80 443 IP range(206): 13.32.150.107-13.32.150.107 13.33.60.22-13.33.60.22 13.33.60.63-13.33.60.63 13.52.193.11-13.52.193.11 13.52.209.97-13.52.209.97 13.56.48.73-13.56.48.73 13.56.137.1-13.56.137.1 13.224.247.59-13.224.247.59 13.225.74.32-13.225.74.32 13.225.74.41-13.225.74.41 13.225.74.48-13.225.74.48 13.225.74.100-13.225.74.100 13.225.149.26-13.225.149.26 13.225.159.93-13.225.159.93 13.225.159.129-13.225.159.129 13.225.206.104-13.225.206.104 13.225.209.95-13.225.209.95 13.226.36.24-13.226.36.24 13.226.36.71-13.226.36.71 13.226.115.63-13.226.115.63 13.226.121.91-13.226.121.91 13.226.123.15-13.226.123.15 13.226.123.23-13.226.123.23 13.226.123.106-13.226.123.106 13.226.123.153-13.226.123.153 13.227.76.169-13.227.76.169 13.227.77.77-13.227.77.77 13.227.172.43-13.227.172.43 13.249.162.25-13.249.162.25 13.249.172.65-13.249.172.65 20.20.10.94-20.20.10.94 20.20.20.203-20.20.20.203 20.20.30.191-20.20.30.191 34.208.239.246-34.208.239.246 34.210.130.92-34.210.130.92 34.210.172.224-34.210.172.224 34.211.92.87-34.211.92.87 34.212.16.188-34.212.16.188 34.212.240.52-34.212.240.52 34.214.78.97-34.214.78.97 34.214.194.239-34.214.194.239 34.217.183.227-34.217.183.227 34.218.97.70-34.218.97.70 34.218.152.160-34.218.152.160 35.80.149.73-35.80.149.73 35.83.120.255-35.83.120.255 35.83.137.117-35.83.137.117 35.83.235.133-35.83.235.133 35.155.162.75-35.155.162.75 35.160.83.136-35.160.83.136 35.161.23.49-35.161.23.49 35.161.65.211-35.161.65.211 35.162.65.214-35.162.65.214 35.162.70.94-35.162.70.94 35.164.15.234-35.164.15.234 35.166.90.196-35.166.90.196 35.167.82.6-35.167.82.6 44.226.41.51-44.226.41.51 44.227.143.101-44.227.143.101 44.229.105.15-44.229.105.15 44.233.71.206-44.233.71.206 44.233.84.24-44.233.84.24 44.235.168.234-44.235.168.234 44.235.175.29-44.235.175.29 44.235.199.163-44.235.199.163 44.235.217.10-44.235.217.10 44.236.159.174-44.236.159.174 44.236.166.190-44.236.166.190 44.236.226.97-44.236.226.97 44.237.215.190-44.237.215.190 44.237.250.48-44.237.250.48 44.238.255.255-44.238.255.255 44.239.125.6-44.239.125.6 44.239.177.36-44.239.177.36 44.239.220.124-44.239.220.124 44.240.52.235-44.240.52.235 44.240.64.157-44.240.64.157 44.240.193.99-44.240.193.99 44.240.211.254-44.240.211.254 44.241.114.3-44.241.114.3 44.241.253.212-44.241.253.212 45.33.2.97-45.33.2.97 45.33.3.7-45.33.3.7 50.112.22.230-50.112.22.230 52.10.60.52-52.10.60.52 52.10.186.174-52.10.186.174 52.13.47.227-52.13.47.227 52.24.189.172-52.24.189.172 52.26.24.161-52.26.24.161 52.26.43.241-52.26.43.241 52.26.89.254-52.26.89.254 52.26.97.215-52.26.97.215 52.26.198.250-52.26.198.250 52.27.6.148-52.27.6.148 52.27.15.122-52.27.15.122 52.27.54.47-52.27.54.47 52.32.24.64-52.32.24.64 52.32.55.71-52.32.55.71 52.33.6.91-52.33.6.91 52.33.26.13-52.33.26.13 52.33.135.164-52.33.135.164 52.33.182.58-52.33.182.58 52.34.216.35-52.34.216.35 52.35.152.37-52.35.152.37 52.35.170.124-52.35.170.124 52.35.222.124-52.35.222.124 52.36.4.248-52.36.4.248 52.38.54.89-52.38.54.89 52.38.88.5-52.38.88.5 52.38.126.158-52.38.126.158 52.39.20.196-52.39.20.196 52.39.84.117-52.39.84.117 52.39.177.253-52.39.177.253 52.39.235.196-52.39.235.196 52.40.194.70-52.40.194.70 52.41.17.82-52.41.17.82 52.43.11.4-52.43.11.4 52.43.153.124-52.43.153.124 52.43.203.250-52.43.203.250 52.84.94.172-52.84.94.172 52.84.154.31-52.84.154.31 52.84.154.33-52.84.154.33 52.84.154.91-52.84.154.91 52.84.154.124-52.84.154.124 52.85.96.35-52.85.96.35 52.85.96.50-52.85.96.50 52.85.144.63-52.85.144.63 52.85.144.65-52.85.144.65 52.85.144.82-52.85.144.82 52.85.144.88-52.85.144.88 52.85.144.94-52.85.144.95 52.88.132.155-52.88.132.155 52.89.27.101-52.89.27.101 52.89.241.169-52.89.241.169 54.68.180.36-54.68.180.36 54.69.25.7-54.69.25.7 54.69.232.0-54.69.232.0 54.69.247.229-54.69.247.229 54.70.87.229-54.70.87.229 54.70.203.81-54.70.203.81 54.70.215.67-54.70.215.67 54.71.132.177-54.71.132.177 54.148.145.190-54.148.145.190 54.149.111.193-54.149.111.193 54.149.174.234-54.149.174.234 54.173.174.40-54.173.174.40 54.184.17.254-54.184.17.254 54.186.72.198-54.186.72.198 54.186.133.105-54.186.133.105 54.187.53.94-54.187.53.94 54.187.68.162-54.187.68.162 54.187.234.25-54.187.234.25 54.187.246.8-54.187.246.8 54.192.38.172-54.192.38.172 54.200.100.39-54.200.100.39 54.200.181.12-54.200.181.12 54.202.75.168-54.202.75.168 54.203.94.82-54.203.94.82 54.203.95.78-54.203.95.78 54.203.162.166-54.203.162.166 54.218.6.85-54.218.6.85 54.218.46.41-54.218.46.41 54.218.66.219-54.218.66.219 54.230.206.43-54.230.206.43 54.230.206.86-54.230.206.86 54.230.206.121-54.230.206.121 54.230.206.127-54.230.206.127 65.8.69.45-65.8.69.45 65.8.158.54-65.8.158.54 65.8.158.81-65.8.158.81 65.8.158.96-65.8.158.96 65.8.158.104-65.8.158.104 65.9.32.28-65.9.32.28 99.84.15.83-99.84.15.83 99.84.15.120-99.84.15.120 99.84.189.12-99.84.189.12 99.84.189.33-99.84.189.33 99.84.189.35-99.84.189.35 99.84.189.46-99.84.189.46 99.84.189.98-99.84.189.98 99.84.194.8-99.84.194.8 99.84.194.78-99.84.194.78 99.84.194.166-99.84.194.166 99.84.194.212-99.84.194.212 99.84.197.61-99.84.197.61 99.84.200.48-99.84.200.48 99.84.203.154-99.84.203.154 99.86.36.66-99.86.36.66 99.86.116.46-99.86.116.46 99.86.116.54-99.86.116.54 99.86.116.129-99.86.116.129 99.86.230.62-99.86.230.62 99.86.230.79-99.86.230.79 100.21.150.74-100.21.150.74 104.154.206.242-104.154.206.242 104.198.70.209-104.198.70.209 104.198.236.33-104.198.236.33 130.211.191.195-130.211.191.195 143.204.78.74-143.204.78.74 143.204.137.235-143.204.137.235 143.204.159.122-143.204.159.122 143.204.166.9-143.204.166.9 143.204.166.21-143.204.166.21 143.204.178.18-143.204.178.18 143.204.178.88-143.204.178.88 159.65.40.28-159.65.40.28
So the Ubiquiti-UniFi doesn’t have the right endpoint for Unifi cloud-key devices that also need port 8883
Fortigate Internet Service DB lookup