SwitchBotAPI icon indicating copy to clipboard operation
SwitchBotAPI copied to clipboard

Curtain3 Device Command Error using API - Status Code 190

Open yeoyujie opened this issue 1 year ago • 0 comments

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

yeoyujie avatar Jul 24 '24 07:07 yeoyujie