-----------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] => 0.988915
    [namelookup_time] => 0.006497
    [connect_time] => 0.011619
    [pretransfer_time] => 0.060486
    [size_upload] => 50
    [size_download] => 57
    [speed_download] => 57
    [speed_upload] => 50
    [download_content_length] => 57
    [upload_content_length] => 50
    [starttransfer_time] => 0.988835
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 212.58.63.176
    [certinfo] => Array
        (
        )

    [primary_port] => 8443
    [local_ip] => 35.214.21.177
    [local_port] => 48830
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 60422
    [connect_time_us] => 11619
    [namelookup_time_us] => 6497
    [pretransfer_time_us] => 60486
    [redirect_time_us] => 0
    [starttransfer_time_us] => 988835
    [total_time_us] => 988915
)

----------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 06:35:47 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