-----------LOGIN-------------
Array
(
    [url] => https://033.unificloud.co.uk:8443/api/login
    [content_type] => application/json;charset=UTF-8
    [http_code] => 400
    [header_size] => 309
    [request_size] => 243
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 1.051447
    [namelookup_time] => 0.011515
    [connect_time] => 0.01668
    [pretransfer_time] => 0.101744
    [size_upload] => 50
    [size_download] => 57
    [speed_download] => 54
    [speed_upload] => 47
    [download_content_length] => 57
    [upload_content_length] => 50
    [starttransfer_time] => 1.051388
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 212.58.63.176
    [certinfo] => Array
        (
        )

    [primary_port] => 8443
    [local_ip] => 35.214.21.177
    [local_port] => 56440
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 101610
    [connect_time_us] => 16680
    [namelookup_time_us] => 11515
    [pretransfer_time_us] => 101744
    [redirect_time_us] => 0
    [starttransfer_time_us] => 1051388
    [total_time_us] => 1051447
)

----------RESPONSE-----------
HTTP/1.1 400 
vary: Origin
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: Access-Control-Allow-Origin,Access-Control-Allow-Credentials
X-Frame-Options: DENY
Content-Type: application/json;charset=UTF-8
Content-Length: 57
Date: Sat, 28 Nov 2020 22:35:23 GMT
Connection: close

{"meta":{"rc":"error","msg":"api.err.Invalid"},"data":[]}
-----------------------------

Notice: We have received an HTTP response status: 400. Probably a controller login failure in /home/customer/www/bapcs.uk/public_html/ticket/vendor/art-of-wifi/unifi-api-client/src/Client.php on line 141
UniFi API browser