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 28, 2019 in IoT (Internet of Things) by Shubham
• 13,490 points
824 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 28, 2019 by Upasana
• 8,620 points

Related Questions In IoT (Internet of Things)

0 votes
0 answers
0 votes
0 answers

AWS DynamoDB tutorial does not import certain classes

I am trying to follow a tutorial ...READ MORE

Apr 12, 2022 in IoT (Internet of Things) by Rahul
• 9,680 points
482 views
+2 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
• 58,100 points
2,658 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,952 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,620 points
1,606 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP