Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curtain3 Device Command Error using API - Status Code 190 #327

Open
yeoyujie opened this issue Jul 24, 2024 · 0 comments
Open

Curtain3 Device Command Error using API - Status Code 190 #327

yeoyujie opened this issue Jul 24, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@yeoyujie
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants