<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic JSON.parse: unexpected character at line 1 column 1 of the JSON data in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855213#M11297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone seen this message on their web app after deployment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/366470_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just upgraded to WABDE version 2.5 today and the only change I made was to try to turn on the splash screen feature. When I hit Preview, everything works great. When I download the code and deploy it on my server, I get that error message and the map never loads. It's not happening on any of my other web apps, including ones I have updated today.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Aug 2017 20:55:15 GMT</pubDate>
    <dc:creator>AmyRoust</dc:creator>
    <dc:date>2017-08-09T20:55:15Z</dc:date>
    <item>
      <title>JSON.parse: unexpected character at line 1 column 1 of the JSON data</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855213#M11297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone seen this message on their web app after deployment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/366470_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just upgraded to WABDE version 2.5 today and the only change I made was to try to turn on the splash screen feature. When I hit Preview, everything works great. When I download the code and deploy it on my server, I get that error message and the map never loads. It's not happening on any of my other web apps, including ones I have updated today.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 20:55:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855213#M11297</guid>
      <dc:creator>AmyRoust</dc:creator>
      <dc:date>2017-08-09T20:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: JSON.parse: unexpected character at line 1 column 1 of the JSON data</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855214#M11298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amy have you looked in the main config.json for any syntax errors? You can copy all of the text in that file and put it in&amp;nbsp;&lt;A class="link-titled" href="https://jsonlint.com/" title="https://jsonlint.com/"&gt;JSONLint - The JSON Validator&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 21:25:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855214#M11298</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-08-09T21:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: JSON.parse: unexpected character at line 1 column 1 of the JSON data</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855215#M11299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just tried that at your suggestion, and it came back valid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 21:28:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855215#M11299</guid>
      <dc:creator>AmyRoust</dc:creator>
      <dc:date>2017-08-09T21:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: JSON.parse: unexpected character at line 1 column 1 of the JSON data</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855216#M11300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Does your browser web console show you any errors?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 21:39:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855216#M11300</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-08-09T21:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: JSON.parse: unexpected character at line 1 column 1 of the JSON data</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855217#M11301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. Here's what I see (blacked out the server name on the URL -- this is on my test server and not live):&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/366505_pastedImage_1.png" style="width: 620px; height: 52px;" /&gt;&lt;/P&gt;&lt;P&gt;And since that graphic nearly impossible to read:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET &lt;BR /&gt;XHR &lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F%5Bservernameremoved%5D%2Fpropertyviewertesting%2Fconfigs%2FSplash%2Fconfig_Important%253A%2520Offline%2520notice%2520for%2520server%2520upgrade.json" rel="nofollow" target="_blank"&gt;http://[servernameremoved]/propertyviewertesting/configs/Splash/config_Important%3A%20Offline%20notice%20for%20server%20upgrade.json&lt;/A&gt;&lt;SPAN&gt; [HTTP/1.1 404 Not Found 11ms]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data&lt;BR /&gt;Stack trace:&lt;BR /&gt;&lt;SPAN&gt;json@&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.21%2Finit.js%3A147%3A461" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.21/init.js:147:461&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;p@&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.21%2Finit.js%3A146%3A137" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.21/init.js:146:137&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;f@&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.21%2Finit.js%3A138%3A503" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.21/init.js:138:503&lt;/A&gt;&lt;BR /&gt;&lt;A href="mailto:g@https://js.arcgis.com/3.21/init.js:143:291"&gt;g@https://js.arcgis.com/3.21/init.js:143:291&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not insignificant that there is an error on the Splash config because in WABDE, I removed that widget before I downloaded the code package. I wonder if there is an error with the Splash widget in version 2.5 that is leaving residual code when it is added and then removed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 13:19:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855217#M11301</guid>
      <dc:creator>AmyRoust</dc:creator>
      <dc:date>2017-08-10T13:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: JSON.parse: unexpected character at line 1 column 1 of the JSON data</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855218#M11302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Check your main config.json for any reference to "splash". If there is you should remove it manually (being sure to lint your json after changes to ensure validity).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 13:28:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855218#M11302</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-08-10T13:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: JSON.parse: unexpected character at line 1 column 1 of the JSON data</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855219#M11303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did the trick. I had to delete this block of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "uri": "widgets/Splash/Widget",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "position": {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "relativeTo": "browser"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "version": "2.5",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id": "widgets_Splash_Widget_49",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "Splash",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "label": "Important: Offline notice for server upgrade",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "config": "configs/Splash/config_Important: Offline notice for server upgrade.json",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "visible": false&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a ticket in with Esri support. Hopefully we can get to the bottom of this because I would like to have a splash screen. Plus, I really don't want to have to manually delete a block of code every time I update the website.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 13:45:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855219#M11303</guid>
      <dc:creator>AmyRoust</dc:creator>
      <dc:date>2017-08-10T13:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: JSON.parse: unexpected character at line 1 column 1 of the JSON data</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855220#M11304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad that helped.&amp;nbsp;Don't forget to mark this question as answered by clicking on the "Correct Answer" link on the reply that answered your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 13:50:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855220#M11304</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-08-10T13:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: JSON.parse: unexpected character at line 1 column 1 of the JSON data</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855221#M11305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the root cause of my issue. You cannot put special characters in the Widget label field, as they will be misinterpreted when the Javascript tries to execute. Here's what I had. Note the colon -- that is bad news!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/366562_pastedImage_1.png" style="width: 620px; height: 325px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**shakes fist at special characters**&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 19:40:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855221#M11305</guid>
      <dc:creator>AmyRoust</dc:creator>
      <dc:date>2017-08-10T19:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: JSON.parse: unexpected character at line 1 column 1 of the JSON data</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855222#M11306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried escaping the special character?&lt;/P&gt;&lt;P&gt;%3A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 20:05:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855222#M11306</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-08-10T20:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: JSON.parse: unexpected character at line 1 column 1 of the JSON data</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855223#M11307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn’t try that since the colon wasn’t really critical to the message. I just changed the wording to remove it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I bet you could put an escape character in, though. Would be worth a test if someone absolutely had to have a special character in that spot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 20:11:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/json-parse-unexpected-character-at-line-1-column-1/m-p/855223#M11307</guid>
      <dc:creator>AmyRoust</dc:creator>
      <dc:date>2017-08-10T20:11:15Z</dc:date>
    </item>
  </channel>
</rss>

