2 Answers
- Newest
- Most votes
- Most comments
0
I can't see too much wrong with the code and I would absolutely expect an exception to be raised if there was something causing an error.
One thing to check is that the header[i]
value for each item matches the primary key as defined in the DynamoDB table. It should be it's worth looking at.
0
print("Data has been inserted into the DynamoDB table.")
Is this message being displayed?
If for some reason there are 0 records retrieved from the CSV file, no error will occur, but no items will be added.
answered 7 months ago
Relevant content
- asked 3 years ago
- AWS OFFICIALUpdated 2 years ago