carelink-python-client icon indicating copy to clipboard operation
carelink-python-client copied to clipboard

ERROR: failed to get data (response code 204)

Open sebazungui opened this issue 1 year ago • 1 comments

Hello! first thanks for your amazing work! I'm trying to make something useful for my young nephew with homeassistant (tried first and im here now) but im having trouble getting data (title). He is using just the arm sensor (Guardian 4) that's a problem?. Debug log here:

[2024-09-19 18:05:52:INFO] _is_token_valid() [2024-09-19 18:05:52:INFO] access token expires in 8300s (Thu Sep 19 23:24:13 UTC 2024) [2024-09-19 18:05:52:INFO] _get_data() [2024-09-19 18:05:52:DEBUG] Starting new HTTPS connection (1): clcloud.minimed.eu:443 [2024-09-19 18:05:53:DEBUG] https://clcloud.minimed.eu:443 "POST /connect/carepartner/v6/display/message HTTP/11" 204 0 [2024-09-19 18:05:53:DEBUG] status: 204 ERROR: failed to get data (response code 204)

sebazungui avatar Sep 19 '24 21:09 sebazungui

The API response with HTTP status code 204 means "No Content". Si I guess the API endpoint carelink_python_client is using for retrieving the pump and sensor data is not valid for a monitoring only system with G4 sensor.

ondrej1024 avatar Sep 20 '24 08:09 ondrej1024

Duplicate of #16 Closing the issue

ondrej1024 avatar Mar 01 '25 16:03 ondrej1024