'module' object has no attribute 'PermissionException'

vahbuna
vahbuna edited March 2016 in Python client
I am getting the following error on calling kite.request_access_token:


451
452 # native Kite errors
=> 453 exp = getattr(ex, data["error_type"])
454 if data["error_type"] == "TwoFAException":
455 raise(ex.TwoFAException(data["message"],
exp undefined, builtin getattr = , global ex = , data = {u'error_type': u'PermissionException', u'message': u'That API call is not allowed for the authenticated user', u'status': u'error'}
: 'module' object has no attribute 'PermissionException'
args = ("'module' object has no attribute 'PermissionException'",)
message = "'module' object has no attribute 'PermissionException'"
Sign In or Register to comment.