SwitchBotAPI
SwitchBotAPI copied to clipboard
Curtain3 Device Command Error using API - Status Code 190
Analysis
When attempting to send commands to a SwitchBot Curtain 3 device, the response from the API is returning a status code 190 with the message "Cannot read properties of undefined (reading '0')".
I am calling https://api.switch-bot.com/v1.1/devices/{device_id}/commands. The /status get endpoint works just fine, but the post command endpoints kept returning me 190 for some reason. It was previously working fine until I created another switchbot account to link to my current Curtain3 Device.
Expected Behavior
Steps To Reproduce
Logs
-
Configuration
-
Environment
- OS:
- Software:
- Node:
- npm:
Additional Context
No response