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

AccessDenied: This request is not authorized by the specified access token #20

Closed
davidhpark opened this issue Jun 10, 2017 · 1 comment

Comments

@davidhpark
Copy link

I'm having issues with the access token.

$ python smartthings.py --type battery
Traceback (most recent call last):
File "smartthings.py", line 209, in
ds = st.request_devices(options.device_type)
File "smartthings.py", line 119, in request_devices
SmartThings.raise_api_errors(self.deviceds)
File "smartthings.py", line 55, in raise_api_errors
raise Exception(error_type + ": " + error_message)
Exception: AccessDenied: This request is not authorized by the specified access token

@davidhpark
Copy link
Author

Nevermind. Fixed! Was an issue with the URL hardcoded into the JSON.

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

1 participant