Unhandled exception when security credentials are invalid #96

Closed
sebdah opened this Issue Dec 20, 2013 · 0 comments

Projects

None yet

1 participant

@sebdah
Owner
sebdah commented Dec 20, 2013

Unhandled exception when security credentials are invalid

Traceback (most recent call last):
  File "/usr/local/bin/dynamic-dynamodb", line 5, in <module>
    pkg_resources.run_script('dynamic-dynamodb==1.7.0-SNAPSHOT', 'dynamic-dynamodb')
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 489, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1207, in run_script
    execfile(script_filename, namespace, namespace)
  File "/Library/Python/2.7/site-packages/dynamic_dynamodb-1.7.0_SNAPSHOT-py2.7.egg/EGG-INFO/scripts/dynamic-dynamodb", line 26, in <module>
    dynamic_dynamodb.main()
  File "/Library/Python/2.7/site-packages/dynamic_dynamodb-1.7.0_SNAPSHOT-py2.7.egg/dynamic_dynamodb/__init__.py", line 85, in main
    for table_instance in dynamodb.list_tables():
  File "/Library/Python/2.7/site-packages/dynamic_dynamodb-1.7.0_SNAPSHOT-py2.7.egg/dynamic_dynamodb/core/dynamodb.py", line 117, in list_tables
    table_list = DYNAMODB_CONNECTION.list_tables()
  File "/Library/Python/2.7/site-packages/boto-2.20.1-py2.7.egg/boto/dynamodb2/layer1.py", line 609, in list_tables
    body=json.dumps(params))
  File "/Library/Python/2.7/site-packages/boto-2.20.1-py2.7.egg/boto/dynamodb2/layer1.py", line 1483, in make_request
    retry_handler=self._retry_handler)
  File "/Library/Python/2.7/site-packages/boto-2.20.1-py2.7.egg/boto/connection.py", line 907, in _mexe
    status = retry_handler(response, i, next_sleep)
  File "/Library/Python/2.7/site-packages/boto-2.20.1-py2.7.egg/boto/dynamodb2/layer1.py", line 1526, in _retry_handler
    data)
boto.exception.JSONResponseError: JSONResponseError: 400 Bad Request
{u'message': u'The security token included in the request is invalid.', u'__type': u'com.amazon.coral.service#UnrecognizedClientException'}
@sebdah sebdah was assigned Dec 20, 2013
@sebdah sebdah added a commit that referenced this issue Dec 20, 2013
@sebdah Catching invalid credentials #96 a6a741e
@sebdah sebdah added a commit that referenced this issue Dec 20, 2013
@sebdah Fixed exception handling #96 #97 #98 8957d39
@sebdah sebdah closed this Dec 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment