title: JavaScript runtime error: [Messenger] Required property 'target' was not provided occurred
body: <p>I am using the Developers API with an App I created in LinkedIn.  </p>
  
  <p>When I call this method to sign in.....</p>
  
  <p>IN.UI.Authorize().params({ "scope": ["r_liteprofile", "r_emailaddress"] }).place()</p>
  
  <p>a Window begins to open and I get this error message:</p>
  
  <blockquote>
    <p>Unhandled exception at line 7, column 56783 in
    <a href="http://platform.linkedin.com/in.js" rel="nofollow noreferrer">http://platform.linkedin.com/in.js</a> 0x800a139e - JavaScript runtime
    error: [Messenger] Required property 'target' was not provided
    occurred</p>
  </blockquote>
  
  <p>I have completed LinkedIn's App Setup, but can't figure what could be causing this.  My JavaScript code is below:</p>
  
  <pre>
  [script type="text/javascript" src="//platform.linkedin.com/in.js"]
      api_key: 'xxxxx......xxxxx'
      authorize: true
  [/script]
  
  function LinkedInSignIn() {
      IN.UI.Authorize().params({ "scope": ["r_liteprofile", "r_emailaddress"] }).place();
      IN.Event.on(IN, 'auth', getProfileData);
  }
  function getProfileData() { // Use the API call wrapper to request the member's basic profile data
      IN.API.Profile("me").fields("id,firstName,lastName,email-address,picture-urls::(original),public-profile-url,location:(name)").result(function (me) {
          var profile = me.values[0];
          var id = profile.id;
          alert(profile.firstName);
  
      });
  }
  
  </pre>