title: React to Lambda to DynamoDB ("key" prop issue)
body: <p>I have this code to send the request from React app using Axios to Lambda:</p>
  <pre><code>export const addTodo = createAsyncThunk(
    'todoApp/todos/addTodo',
    async (todo, { dispatch, getState }) =&gt; {
      
      const response = await axios.post('https://api.us-west-2.amazonaws.com/prod/', { 
        Key: {
          key1: `${todo.id}`,
          key2: `${todo.title}`,
          key3: `${todo.notes}`,
          key4: `${todo.startDate}`,
          key5: `${todo.dueDate}`,
          key6: `${todo.completed}`,
          key7: `${todo.starred}`,
          key8: `${todo.important}`,
          key9: `${todo.deleted}`,
          key10: `${todo.labels}`
          }
       });
      const data = await response.data;
  
      dispatch(getTodos());
  
      return data;
    }
  );
  </code></pre>
  <p>And here is the Lambda function:</p>
  <pre><code>const AWS = require('aws-sdk');
  const docClient = new AWS.DynamoDB.DocumentClient({region: &quot;us-west-2&quot;});
  
  exports.handler = (event, context, callback) =&gt; {
      console.log(&quot;Processing...&quot;);
      const params = {
          Item: {
              &quot;id&quot;:  event.key1,
              &quot;title&quot;: event.key2,
              &quot;notes&quot;: event.key3,
              &quot;startDate&quot;: event.key4,
              &quot;dueDate&quot;: event.key5,
              &quot;completed&quot;: event.key6,
              &quot;starred&quot;: event.key7,
              &quot;important&quot;: event.key8,
              &quot;deleted&quot;: event.key9,
              &quot;labels&quot;: event.key10
          },
          TableName: &quot;Todo&quot;
      };
      const response = {
      statusCode: 200,
      headers: {
        'Access-Control-Allow-Origin': '*',
        'Access-Control-Allow-Credentials': true,
      },
      body: JSON.stringify('Done'),
    };
      
      docClient.put(params, function(err, data) {
          if(err){
              callback(err, null);
          } else {
              callback(null, data);
          }
      })
  };
  </code></pre>
  <p>The exact same code is working on my other app for Contacts but not in here which is a Todo app. I always get the error for:</p>
  <pre><code>Warning: Each child in a list should have a unique &quot;key&quot; prop.
  </code></pre>
  <p>The issue is that Lambda function is not getting the key items that I configured. Is there anything I missed?</p>