I am using the below script to connect to magnetodb and put a item. The last line puts an item which gives 500 in magneto log.
from boto.dynamodb2.layer1 import DynamoDBConnection
connection_data = {}
connection_data['aws_access_key_id'] = '23fdab5cfbf24fbe967dab9f2a1f5e8b'
connection_data['aws_secret_access_key'] = 'ed4d7c8ea5ec46e3a69cb9a7ea1665ed'
connection_data['is_secure'] = False
connection_data['host'] = 'localhost'
connection_data['port'] = 8480
connection_data['region'] = 'RegionOne'
conn = DynamoDBConnection(**connection_data)
users = Table.create('users', schema=[HashKey('name',
data_type=STRING), RangeKey('salary', data_type=NUMBER)],connection=conn)
users.put_item(data={'email':'aj', 'salary':1000})
http:// paste.openstack .org/show/ 160854/
Return: '{"__type" :"com.amazonaws .dynamodb. v20111205# InternalServerE rror"," message" :"The server encountered an internal error trying to fulfill the request."}'