-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Analysis
It appears that the API is currently broken. I wrote a simple console app c# a couple days ago. It was the sample from the front page of this repo with my token and secret filled in. It worked fine first try. Yesterday (and today) I tried the same sample again and I get 401 back. I even tried generating a new secret and still got the 401. It appears that the API is in a broken state.
Expected Behavior
API responds to sample with a JSON payload
Steps To Reproduce
- Cut and paste c# example into console application.
- Get token and secret from SwitchBot App (Android) and paste into c# application
- Run application and get 401 back.
Logs
Response is:
{
"message": "Unauthorized"
}Configuration
NAEnvironment
- OS: Windows 11
- Software: Visual Studio 2026
Additional Context
No response
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't working