tuyapi: No permissions. This API is not subscribed
I have the same issue as in this, except that my output is like this:
✖ Device(s) failed to be registered!
Error: No permissions. This API is not subscribed.
at OpenAPI._client.got_1.default.extend.hooks.afterResponse.response (/usr/local/lib/node_modules/@tuyapi/cli/node_modules/@tuyapi/link/node_modules/@tuyapi/openapi/dist/api.js:68:31)
at EventEmitter.emitter.on (/usr/local/lib/node_modules/@tuyapi/cli/node_modules/got/dist/source/as-promise.js:87:38)
at process._tickCallback (internal/process/next_tick.js:68:7)
I tried this solution: but that didnt help either. I followed all the steps in the setup instructions. I am trying to run this off a raspberry pi, is that the problem?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24 (6 by maintainers)
Commits related to this issue
- Update SETUP.md with API Authorization Step — committed to codetheweb/tuyapi by cj922 3 years ago
Looks like another update to the instructions may be required, I also needed to follow the instructions from this comment:
https://github.com/codetheweb/tuyapi/issues/475#issuecomment-858373769
I was having the same issue despite being certain I followed the Setup guide. I started randomly adding other relevant APIs to my Cloud project, and it seems like either the ‘Smart Home Family Management’ or ‘Authorization’ API was needed for everything to work.
I have the same issue 😕 …any idea? I used the guide.
Done! https://github.com/codetheweb/tuyapi/pull/491
I was having issues as well until following the referenced comment - copied here in list form: