question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No permissions. This API is not subscribed

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:24 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
VossenTechcommented, Jun 23, 2021

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

1reaction
ry-dgelcommented, Aug 7, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: No permissions. This API is not subscribed. · Issue # ...
I'm getting this error can you help? [ Error: No permissions. This API is not subscribed. at OpenAPI._client.got_1.default.extend.hooks.
Read more >
28841106,"msg":"No permissions. This API is not subscribed.
First enable the weather service API permission on the Tuya IoT platform, and then refer to the weather API documentation to make API...
Read more >
[BETA] Tuya Cloud Driver (Limited device support) ...
Next issue that has me stumped is that I'm getting the error -> No permissions. This API is not subscribed. Log reproduced below....
Read more >
Why does my API code return "You are not subscribed to ...
As the error message states, you are not subscribed to the API. RapidAPI supports 3 tiers of subscriptions: Free; Freemium; Paid.
Read more >
AADSTS650052: The app needs access to a service (\ ...
It is a chain of permissions. I have referred below article but its not working and I have same scenario. https://joonasw.net/view/aad-api-chains- ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found