You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We send an API key as an HTTP basic username without a password, e.g. curl --user API_KEY: http://app.local. This appears to throw the following error on python 2.7 with unirest 1.1.7:
Traceback (most recent call last):
File "/opt/python/2.7.12/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/opt/python/2.7.12/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/travis/virtualenv/python2.7.12/lib/python2.7/site-packages/unirest/__init__.py", line 82, in __request
encoded_string = base64.b64encode(user + ':' + password)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
The text was updated successfully, but these errors were encountered:
Reported on our repo here: Staffjoy/suite#3
We send an API key as an HTTP basic username without a password, e.g.
curl --user API_KEY: http://app.local
. This appears to throw the following error on python 2.7 with unirest 1.1.7:The text was updated successfully, but these errors were encountered: