title: Error 500 on ajax call to controller - MVC Razor
body: <p>My controller : </p>
  
  <pre><code>    [HttpGet]
      public ActionResult canEdit(List&lt;string&gt; mylist)
      {
          if (SomeProgramLogic)
          {
              return Content("Y");
          }
  
          return Content("N");
      }
  </code></pre>
  
  <p>My ajax Call :</p>
  
  <pre><code>    var getData = { mylist : myArray}; // An array created in the client side
  
      $.ajax({
          type: "GET",
          url: "canEdit",
          data: getData,
          success: function (data) {
              alert(data); 
          },
          dataType: "json",
          traditional: true
      });
  </code></pre>
  
  <p>The debugger enters my controller . mylist contains the exact data . At no point I see an error or an exception. But I get this error "Failed to load resource: the server responded with a status of 500 (Internal Server Error) and the alert message does not pop up.</p>
  
  <p>My rendered url format </p>
  
  <pre><code>      http://localhost/Controller/canEdit?mylist=a&amp;mylist=a&amp;mylist=b 
  </code></pre>