I just tried to run the demo.py, and it threw back a 403 error
Traceback (most recent call last):
File "/Users/serge/Library/Python/3.9/lib/python/site-packages/opower/opower.py", line 197, in async_login
self.access_token = await self.utility.async_login(
File "/Users/serge/Library/Python/3.9/lib/python/site-packages/opower/utilities/smud.py", line 306, in async_login
opower_sso_acs_response = await session.post(
File "/Users/serge/Library/Python/3.9/lib/python/site-packages/aiohttp/client.py", line 696, in _request
resp.raise_for_status()
File "/Users/serge/Library/Python/3.9/lib/python/site-packages/aiohttp/client_reqrep.py", line 1070, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 403, message='Forbidden', url=URL('https://smud.opower.com/ei/x/error-response-code?error-response-code=403')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/serge/Downloads/Opower demo.py", line 172, in <module>
asyncio.run(_main())
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/Users/serge/Downloads/Opower demo.py", line 88, in _main
await opower.async_login()
File "/Users/serge/Library/Python/3.9/lib/python/site-packages/opower/opower.py", line 203, in async_login
raise InvalidAuth(err)
opower.exceptions.InvalidAuth: 403, message='Forbidden', url=URL('https://smud.opower.com/ei/x/error-response-code?error-response-code=403')
Is there a different URL, or is something blocked on my account to use it? My SMUD account is about a week old
I did demo.py without any arguments, and input into the prompts
I just tried to run the demo.py, and it threw back a 403 error
Is there a different URL, or is something blocked on my account to use it? My SMUD account is about a week old
I did demo.py without any arguments, and input into the prompts