title: Invalid argument: url
body: <p>I wrote my program to search people in an address book. The program will debug fine but will throw an error when I run the application by visiting the link. I have tried different ways and spent too many days but cant figured out why I get this error. </p>
  
  <blockquote>
    <p>Link to application : <a href="http://goo.gl/k0psKc" rel="nofollow">http://goo.gl/k0psKc</a> link to run application :
    <a href="http://goo.gl/xHR18J" rel="nofollow">http://goo.gl/xHR18J</a></p>
  </blockquote>
  
  <p>Here is my program:</p>
  
  <pre><code>**function doGet() { var ss = SpreadsheetApp.openByUrl("https://docs.google.com/spreadsheets/d/10sd_ZPASWUcmN_9pBy-x1P8Jv06ZVA0Ah-nbLwGa93s/edit#gid=1173191351");
  var data = ss.getDataRange(); 
  var namefilter = Charts.newStringFilter().setFilterColumnIndex(1).build(); var tablechart = Charts.newTableChart() .setDataViewDefinition(Charts.newDataViewDefinition().setColumns([1,2])).build(); 
  var dashboard = Charts.newDashboardPanel().setDataTable(data) .bind([namefilter], [tablechart]).build();
  var app = UiApp.createApplication(); 
  var filterpanel = app.createVerticalPanel(); 
  var tablepanel = app.createHorizontalPanel();
  filterpanel.add(namefilter); tablepanel.add(tablechart).setSpacing(10); dashboard.add(app.createVerticalPanel().add(filterpanel).add(tablepanel));
  app.add(dashboard); return app; }
  </code></pre>