Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnhandlesPromiseRejectionWarning: Error: General: Premission denied #39

Open
zorrotwee opened this issue Aug 10, 2017 · 2 comments
Open

Comments

@zorrotwee
Copy link

Hi,

I'm just new at all of this. But when i try to run the example code i get this error

(node:1420) UnhandlesPromiseRejectionWarning: unhandled promise rejection (rejection id: 1) Error: General: Premission denied
(node1420) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future,promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Is it me or the code?

@ghost
Copy link

ghost commented Aug 28, 2017

It might be because you are making a request to an api endpoint to which ur keys don't have permission to.

@hb0
Copy link

hb0 commented Sep 15, 2017

had the same error, the reason was similar to what piotryordanov guessed:

I tried to query the api with an empty key/secret pair (instead of using config.key etc I misspelled it to config.apikey).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants