dancingcactus / python-omniture

A high-level Python wrapper for the Adobe Omniture API.
MIT License
89 stars 52 forks source link

Username error #84

Open bu06nne opened 6 years ago

bu06nne commented 6 years ago

I am getting the below error. The username is definitely correct...

Thanks

>>> analytics = omniture.authenticate(os.environ)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\PYTHON27\lib\site-packages\omniture\__init__.py", line 28, in authenticate
    username = source[key_to_username]
  File "C:\PYTHON27\lib\os.py", line 425, in __getitem__
    return self.data[key.upper()]
KeyError: 'OMNITURE_USERNAME'
>>>