[BUG] Invalid parameter[Null input buffer] response
name: Invalid Invalid parameter[Null input buffer] reponse
description: When attempting to log in, I get a response error of returnCode 1001 and msg of Invalid parameter[Null input buffer]. I am running Home Assistant version 2025.7.1.
title: "[Bug]: Invalid parameter[Null input buffer] response"
labels: ["bug", "triage"]
assignees: []
Thanks for taking the time to fill out this bug report! Please provide as much detail as possible to help us diagnose and fix the issue.
Device
What device are you using?
- Scooper SE
Contact Details
How can we get in touch with you if we need more info?
- Reply to the issue
What happened?
When attempting to log in, I get this response error of returnCode 1001 and msg of Invalid parameter[Null input buffer].
Home Assistant Version
What version of Home Assistant are you using?
- [ ] 2024.8.6
- [ ] 2024.7.5
- [x] Other (please specify in the description)
Relevant Log Output
Please copy and paste any relevant log output from Home Assistant.
Login *** failed: [{'returnCode': 1001, 'toast': False, 'msg': 'Invalid parameter[Null input buffer]', 'data': {}, 'timestamp': 1752446334640, 'success': False}, {'platform': 'ANDROID', 'internationalCode': *, 'mobile': '***', 'password': '***', 'noncestr': 1752446333753, 'sign': '67E49ADE7C99441687D1874B2C10155C'}]
Login *** failed: [{'returnCode': 1001, 'toast': False, 'msg': 'Invalid parameter[Null input buffer]', 'data': {}, 'timestamp': 1752446334764, 'success': False}, {'platform': 'ANDROID', 'internationalCode': *, 'mobile': '***', 'password': '***', 'noncestr': 1752446334700, 'sign': '3159633806504C858F60EFA040D0BAA6'}]
Checklist
- [x] I have updated to the latest version of the integration.
- [x] I have checked the Home Assistant logs for errors related to this issue.
- [x] I have searched the issues and found no duplicates.
By submitting this issue, you agree to follow our Code of Conduct.
Hello @ChaosExAnima !
Could you please specify your HA? Could you please share censored configuration for this integration?
Sure thing. I'm running HA 2025.7.1 on HA OS 15.2. My config is as follows:
catlink:
phone: !secret catlink_phone
password: !secret catlink_password
phone_iac: 0 # Redacted
api_base: "https://app-usa.catlinks.cn/api/"
language: "en_GB"
scan_interval: "00:01:00"
devices:
- name: "Scooper SE"
mac: !secret catlink_mac
I've also made sure to have the device on a different account.
Getting the same issue. Same looking config.
Hey guys,
Does this still occur with the latest version? 🐱 🐈
sadly yes! just updated and retried a few times, no change.
edit: and running HA 2025.11.1 now.
@milosljubenovic - let me know if there's any debugging that could help here? i am a coder but JS not Python so not quite sure how to do it myself. also if the Catlink protocol is documented anywhere i can see if i can figure it out.