title: CORS error calling DynamoDB from Alexa Skill Lambda
body: <p>I'm trying to create an Alexa Skill that will query a DynamoDB table from an AWS Lambda function, but I'm getting the error (shown below) when I try to use the get function.</p>
  
  <p>I can't find any place to add a CORS header or specify I don't need one.</p>
  
  <p>Here's the code I'm trying to run:</p>
  
  <pre><code>const params = {
              TableName: "test-sds",
              Key: slotValues.chemical.heardAs,
              projectionExpression: [
                  slotValues.id_info.heardAs,
              ],
          };    
          dynamoDb.get(params, function(err, data) {
              if (err) {
                  console.log('************'+err);
              }
               else {
                   console.log('answer: '+ data.response.data);
               }
               //.speak(data.response.data)}
          })
  </code></pre>
  
  <p>This is the error message I'm receiving in the Alexa Developer Console when I test the skill: </p>
  
  <pre><code>Access to XMLHttpRequest at 'https://avs-alexa-na.amazon.com/v20160207/directives' from origin 'https://developer.amazon.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
  </code></pre>
  
  <p>How do I configure DynamoDB to support CORS, or specify that I don't need it?</p>