0

From yesterday I am facing this error code 401 while accessing token from server using this API: https://oauth-login.cloud.huawei.com/oauth2/v3/token

Just for your information I am using Postman. Can anybody help me with this.

SanghatiM
  • 173
  • 5
  • Hi, interesting, not sure if this is of interest https://developer.huawei.com/consumer/en/doc/38054564 (app id and flow control) – IronMan Jul 10 '20 at 16:48

2 Answers2

1

Error 401 usually means “unauthorized” or “request denied” because a request lacks valid credential. Although this error code is not listed in Account Kit server api, a developer can find it in other kit document - https://developer.huawei.com/consumer/en/doc/development/HMSCore-References-V5/webapi-error-code-0000001050163432-V5. Basically, a developer need to make sure that their API key and/or token is valid.

Zinna
  • 1,947
  • 2
  • 5
  • 20
0

while using huawei auth service if error code 401 returned it means access token becomes invalid and we need to obtain a new token. Token Validity is 60 mins.

Neha Jeswani
  • 110
  • 5