nocmt / ewelink-api-next

CoolKit v2 API Official Library
MIT License
19 stars 4 forks source link

the path of request is not allowed #13

Closed majeka closed 10 months ago

majeka commented 10 months ago

Hello! When requesting a token as described in the example https://github.com/coolkit-carl/ewelink-api-next#example I get an error Tell me what the problem is, what am I doing wrong? { status: 200, responseTime: 1368, error: 407, msg: 'the path of request is not allowed with appid:CPz0kak3ak5BaF2x3lgTQjv27hOE8JiJ', data: {} }

nocmt commented 10 months ago
image
nocmt commented 10 months ago

https://github.com/coolkit-carl/eWeLinkOAuthLoginDemo

DevJaGz commented 8 months ago

I got the same error, what is the solution?

nocmt commented 8 months ago

我遇到了同样的错误,解决方案是什么?

原因是:某些接口未授权给个人开发者的APPID使用,所以会返回407。 所以解决办法是付费购买企业服务。