-----------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.58847
    [namelookup_time] => 0.005418
    [connect_time] => 0.011525
    [pretransfer_time] => 0.537671
    [size_upload] => 50
    [size_download] => 57
    [speed_download] => 35
    [speed_upload] => 31
    [download_content_length] => 57
    [upload_content_length] => 50
    [starttransfer_time] => 1.588399
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 212.58.63.176
    [certinfo] => Array
        (
        )

    [primary_port] => 8443
    [local_ip] => 35.214.21.177
    [local_port] => 60558
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 537578
    [connect_time_us] => 11525
    [namelookup_time_us] => 5418
    [pretransfer_time_us] => 537671
    [redirect_time_us] => 0
    [starttransfer_time_us] => 1588399
    [total_time_us] => 1588470
)

----------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, 24 Jul 2021 07:00:11 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