-----------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.181252
    [namelookup_time] => 0.00909
    [connect_time] => 0.014008
    [pretransfer_time] => 0.090735
    [size_upload] => 50
    [size_download] => 57
    [speed_download] => 48
    [speed_upload] => 42
    [download_content_length] => 57
    [upload_content_length] => 50
    [starttransfer_time] => 1.181185
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 212.58.63.176
    [certinfo] => Array
        (
        )

    [primary_port] => 8443
    [local_ip] => 35.214.21.177
    [local_port] => 56932
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 90640
    [connect_time_us] => 14008
    [namelookup_time_us] => 9090
    [pretransfer_time_us] => 90735
    [redirect_time_us] => 0
    [starttransfer_time_us] => 1181185
    [total_time_us] => 1181252
)

----------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: Wed, 16 Jun 2021 21:04:07 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