AWS : updating DynamoDB

0 votes

So, I'm attempting to update DynamoDB. I sent my JSON data from Raspberry pi 2. But when I checked my CloudWatch, I got this error.

2016-10-09 19:19:56.162 TRACEID:d898d574-2181-e999-4354-1d086e66ba32 PRINCIPALID:bf0e71506eb955a89d3a1cf7caecd33a3af27c13a4e560c5fa852f1d5d89a8e0 [ERROR] EVENT:DynamoActionFailure TOPICNAME:easyprk/sensorData CLIENTID:easyprk MESSAGE:Dynamo Insert record failed. The error received was One or more parameter values were invalid: An AttributeValue may not contain a null or empty binary type. (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: ValidationException; Request ID: 0PNKCG5DO7SRFP49SOJIDSKD7RVV4KQNSO5AEMVJF66Q9ASUAAJG). Message arrived on: easyprk/sensorData, Action: dynamo, Table: sensorData, HashKeyField: serialKey, HashKeyValue: , RangeKeyField: None, RangeKeyValue: 1476040796073


Can anyone help me out with this? Thanks.

Jan 27 in IoT (Internet of Things) by Shubham
• 13,310 points
59 views

1 answer to this question.

0 votes

DynamoDb range key cannot have null attributes. Also, try changing the NoSQL columns. Might help.

answered Jan 27 by Upasana
• 8,550 points

Related Questions In IoT (Internet of Things)

0 votes
0 answers
0 votes
1 answer

aws iot describe-endpoint::You must specify a region

This fixed the problem: Browse to https://console.aws.amazon.com/iam/home?region=us-west-2#security_credentialand then if ...READ MORE

answered Jul 11, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
225 views
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 56,920 points
224 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
214 views
0 votes
1 answer

Why two get requests are not updating fields in thingspeak?

You can update up to 8 fields ...READ MORE

answered Nov 22, 2018 in IoT (Internet of Things) by Upasana
• 8,550 points
179 views
0 votes
1 answer