argrento/huami-token

ValueError: Login error. Error: 0125

mikhailsdv opened this issue · 0 comments

I'm trying to get the auth_key for Mi Band 6 but after pasting the url I get the following error

Snipaste_2022-06-26_13-07-58

These are my request details:

{
  "dn": "account.huami.com,api-user.huami.com,app-analytics.huami.com,api-watch.huami.com,api-analytics.huami.com,api-mifit.huami.com",
  "app_version": "5.9.2-play_100355",
  "source": "com.huami.watch.hmwatchmanager",
  "country_code": "US",
  "device_id": "02:00:00:01:41:31",
  "third_name": "mi-watch",
  "lang": "en",
  "device_model": "android_phone",
  "allow_registration": "false",
  "app_name": "com.huami.midong",
  "code": [
    "my code here"
  ],
  "grant_type": "request_token"
}