title: Amazon Echo - Alexa - ContextClient is null developing skill with Lambda in node.js
body: <p>I'm developing a new skill to Amazon Echo and I'm facing some problems when I need to get the clientContext to verify what is the Client ID of this Amazon Echo in the application.</p>
  
  <p>Anyone know how it works correctly? Every time I receive <code>undefined</code> value in <code>context.clientContext</code>.</p>
  
  <p>I made this process in Alexa developer panel:</p>
  
  <p>1) Create a Skill as "Custom interaction Model"</p>
  
  <p>2) Filled the Interaction Model correctly</p>
  
  <p>3) Endpoint I linked with the Lambda Function</p>
  
  <p>4) I've checked <code>Yes</code> to "Do you allow users to create an account or link to an existing account with you?" question.</p>
  
  <p>In lambda function I made it:</p>
  
  <p>1) Used example "Colors" of the Alexa in Lambda</p>
  
  <p>2) In the first line, I put the log to verify what the information is arriving.</p>
  
  <p>Like this:</p>
  
  <pre><code>console.log("event.session.application.applicationId=" + event.session.application.applicationId);
  console.log('clientContext =', context.clientContext); 
  console.log('context =', context);
  </code></pre>
  
  <p>The data is:</p>
  
  <pre><code>clientContext = undefined
  </code></pre>
  
  <blockquote>
    <p>{ callbackWaitsForEmptyEventLoop: [Getter/Setter], done: [Function],
    succeed: [Function], fail: [Function], logGroupName:
    '/aws/lambda/color', logStreamName:
    '2016/08/19/[$LATEST]7d66fec34f604692ad4c0bd1d138ae51', functionName:
    'color', memoryLimitInMB: '128', functionVersion: '$LATEST',
    getRemainingTimeInMillis: [Function], invokeid:
    '14c606ef-6614-11e6-940d-cd0e175f3bda', awsRequestId:
    '14c606ef-6614-11e6-940d-cd0e175f3bda', invokedFunctionArn:
    'arn:aws:lambda:us-east-1:...........86:function:color' }</p>
  </blockquote>
  
  <p>I read in the Lambda documentation that it is possible for this value to be <code>null</code>, but what is the reason for this value to be null?</p>
  
  <p>Thanks a lot.</p>