AnsweredAssumed Answered

Trying simple JS code to pull in a CSV ; works in sandbox, not outside

Question asked by arthurheyman on Feb 22, 2016
Latest reply on Feb 22, 2016 by Yue_Wu-esristaff

Still a newbie here- trying simple JS code to pull in a CSV.  It works in the sandbox but neither on my local server or pulled from a company web server.

 

https://  developers.arcgis.com/javascript/jssamples/layers_csv.html  I get:

n {message: "Unable to load /proxy/?http://earthquake.usgs.gov/…quakes/feed/v1.0/summary/2.5_week.csv status: 404", response: Object, status: 404, responseText: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">…was not found on this server.</p>↵</body></html>↵", xhr: XMLHttpRequest…}_ssl: undefinedlog: undefinedmessage: "Unable to draw graphic (null): Unable to load /proxy/?http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_week.csv status: 404"response: ObjectresponseText: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">↵<html><head>↵<title>404 Not Found</title>↵</head><body>↵<h1>Not Found</h1>↵<p>The requested URL /proxy/ was not found on this server.</p>↵</body></html>↵"stack: (...)get stack: get stack()set

Outcomes