<?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 Re: Invalid Token : Cannot read property 'username' of undefined in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/invalid-token-cannot-read-property-username-of/m-p/1056989#M34545</link>
    <description>&lt;P&gt;I am tring to create Report from Survey123 REST API services and using the temporary token from developer.arcgis.com/dashboard&lt;/P&gt;</description>
    <pubDate>Wed, 12 May 2021 05:38:35 GMT</pubDate>
    <dc:creator>mridul20</dc:creator>
    <dc:date>2021-05-12T05:38:35Z</dc:date>
    <item>
      <title>Invalid Token : Cannot read property 'username' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/invalid-token-cannot-read-property-username-of/m-p/1056642#M34514</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using survey123 services and have an express server that saves the response to my machine on submit.&lt;/P&gt;&lt;P&gt;I am using a temporary token generated from the dashboard of ArcGIS (i.e &lt;A href="https://developers.arcgis.com/dashboard/)" target="_blank"&gt;https://developers.arcgis.com/dashboard/)&lt;/A&gt;&amp;nbsp;but I am unable to post any request to ArcGIS services using the temporary token, I also tried to generate the token from API but ended with the same error i.e&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Cannot&amp;nbsp;read&amp;nbsp;property&amp;nbsp;'username'&amp;nbsp;of&amp;nbsp;undefined"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"code"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;-1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"details"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;[]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"success"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How can I solve the issue?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 May 2021 13:09:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/invalid-token-cannot-read-property-username-of/m-p/1056642#M34514</guid>
      <dc:creator>mridul20</dc:creator>
      <dc:date>2021-05-11T13:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Token : Cannot read property 'username' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/invalid-token-cannot-read-property-username-of/m-p/1056942#M34540</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/483118"&gt;@mridul20&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;When you say survey123 services I assume you are talking about the feature services that are created when a Survey123 survey is published.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would suggest reaching out to &lt;A href="https://support.esri.com/en/" target="_self"&gt;Esri Technical Support&lt;/A&gt; for assistance formatting your request to the REST endpoint of the service, as well as checking out the &lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/feature-service.htm" target="_self"&gt;documentation&lt;/A&gt; for the specific request you are sending.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are trying to make a request to the Survey123 REST API (this is different from the REST endpoint of the feature service), please check out our &lt;A href="https://developers.arcgis.com/survey123/api-reference/rest/" target="_self"&gt;REST API documentation&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Zach&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 23:26:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/invalid-token-cannot-read-property-username-of/m-p/1056942#M34540</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2021-05-11T23:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Token : Cannot read property 'username' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/invalid-token-cannot-read-property-username-of/m-p/1056989#M34545</link>
      <description>&lt;P&gt;I am tring to create Report from Survey123 REST API services and using the temporary token from developer.arcgis.com/dashboard&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 05:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/invalid-token-cannot-read-property-username-of/m-p/1056989#M34545</guid>
      <dc:creator>mridul20</dc:creator>
      <dc:date>2021-05-12T05:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Token : Cannot read property 'username' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/invalid-token-cannot-read-property-username-of/m-p/1191775#M43716</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/483118"&gt;@mridul20&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you find the issue? I am getting the same response. Is it a token issue?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 05:51:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/invalid-token-cannot-read-property-username-of/m-p/1191775#M43716</guid>
      <dc:creator>Felicitychun</dc:creator>
      <dc:date>2022-07-13T05:51:53Z</dc:date>
    </item>
  </channel>
</rss>

