github Art-of-WiFi/UniFi-API-client v2.4.1
API client class v2.4.1

one hour ago

What's changed

Clearer login failure message. LoginFailedException thrown by login() now also says which login endpoint
was used and how the controller type was detected, for example:

HTTP response: 404 (POST /api/login; GET / returned 404, so treated as a classic controller)

A 404 means there is no UniFi Network login at the configured URL: check the URL, the port and any reverse proxy in
between. A 400, 401 or 403 means the controller rejected the credentials.

The message still starts with HTTP response: <code>, and the exception class and code are unchanged, so existing
error handling keeps working.

Full changelog: v2.4.0...v2.4.1

Don't miss a new UniFi-API-client release

NewReleases is sending notifications on new releases.