Select to view content in your preferred language

Error code 11 after sign in - Survey123 v3.6 website - ArcGIS Portal

2816
5
Jump to solution
10-22-2019 09:27 AM
by Anonymous User
Not applicable

Hi all,

I am getting a code11 error, again. It is using the 3.6v of Survey123. The description of the error is shown below. Any idea?

Thank you,

A cookie associated with a cross-site resource at http://gispublic.waterboards.ca.gov/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
error?errorCode=survey11:1 A cookie associated with a cross-site resource at https://gispublic.waterboards.ca.gov/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
error?errorCode=survey11:1 Access to XMLHttpRequest at 'https://gispublic.waterboards.ca.gov/portal/sharing/rest/generateToken?f=json' from origin 'https://survey123.arcgis.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'https://survey123.arcgis.com, *', but only one is allowed.
main-v3.6.10.js:90 Cross-Origin Read Blocking (CORB) blocked cross-origin response https://gispublic.waterboards.ca.gov/portal/sharing/rest/generateToken?f=json with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details.
error?errorCode=survey11:1 Access to XMLHttpRequest at 'https://gispublic.waterboards.ca.gov/portal/sharing/rest?username=AGole@EPAiyFvNifbYjqI7JgaK1RtI-JguGMw4P68kFw7sj_ivifeEziOjpDRgB2OT7NxMNZhcc.&f=json' from origin 'https://survey123.arcgis.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'https://survey123.arcgis.com, *', but only one is allowed.
main-v3.6.10.js:188 ERROR Error: Uncaught (in promise): [object Object] at w (main-v3.6.10.js:23) at w (main-v3.6.10.js:23) at main-v3.6.10.js:23 at e.invokeTask (main-v3.6.10.js:16) at Object.onInvokeTask (main-v3.6.10.js:267) at e.invokeTask (main-v3.6.10.js:16) at t.runTask (main-v3.6.10.js:16) at p (main-v3.6.10.js:16) at XMLHttpRequest.invoke (main-v3.6.10.js:16)
main-v3.6.10.js:90 Cross-Origin Read Blocking (CORB) blocked cross-origin response https://gispublic.waterboards.ca.gov/portal/sharing/rest?username=AGole@EPAiyFvNifbYjqI7JgaK1RtI-JguGMw4P68kFw7sj_ivifeEziOjpDRgB2OT7NxMNZhcc.&f=json with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details.
error?errorCode=survey11:1 Access to XMLHttpRequest at 'https://gispublic.waterboards.ca.gov/portal/sharing/rest/portals/self?f=jsoJUEs7CeviyFvNifbYjqI7JgaK1RtI-JguGMw4P68kFw7sj_ivifeEziOjpDRgB2OT7NxMNZhcc.' from origin 'https://survey123.arcgis.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'https://survey123.arcgis.com, *', but only one is allowed.
main-v3.6.10.js:188 ERROR Error: Uncaught (in promise): [object Object] at w (main-v3.6.10.js:23) at w (main-v3.6.10.js:23) at main-v3.6.10.js:23 at e.invokeTask (main-v3.6.10.js:16) at Object.onInvokeTask (main-v3.6.10.js:267) at e.invokeTask (main-v3.6.10.js:16) at t.runTask (main-v3.6.10.js:16) at p (main-v3.6.10.js:16) at XMLHttpRequest.invoke (main-v3.6.10.js:16)
main-v3.6.10.js:90 Cross-Origin Read Blocking (CORB) blocked cross-origin response https://gispublic.waterboards.ca.gov/portal/sharing/rest/portals/self?f=jsoJUEs7CeviyFvNifbYjqI7JgaK1RtI-JguGMw4P68kFw7sj_ivifeEziOjpDRgB2OT7NxMNZhcc. with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details.
error?errorCode=survey11:1 Access to XMLHttpRequest at 'https://gispublic.waterboards.ca.gov/portal/sharing/rest/portals/self?f=jsoJUEs7CeviyFvNifbYjqI7JgaK1RtI-JguGMw4P68kFw7sj_ivifeEziOjpDRgB2OT7NxMNZhcc.' from origin 'https://survey123.arcgis.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'https://survey123.arcgis.com, *', but only one is allowed.
main-v3.6.10.js:90 Cross-Origin Read Blocking (CORB) blocked cross-origin response https://gispublic.waterboards.ca.gov/portal/sharing/rest/portals/self?f=jsoJUEs7CeviyFvNifbYjqI7JgaK1RtI-JguGMw4P68kFw7sj_ivifeEziOjpDRgB2OT7NxMNZhcc. with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details.
/share/common/error?errorCode=survey11:1 Access to XMLHttpRequest at 'https://gispublic.waterboards.ca.gov/portal/sharing/rest/portals/self?f=jsoJUEs7CeviyFvNifbYjqI7JgaK1RtI-JguGMw4P68kFw7sj_ivifeEziOjpDRgB2OT7NxMNZhcc.' from origin 'https://survey123.arcgis.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'https://survey123.arcgis.com, *', but only one is allowed.
main-v3.6.10.js:90 Cross-Origin Read Blocking (CORB) blocked cross-origin response https://gispublic.waterboards.ca.gov/portal/sharing/rest/portals/self?f=jsoJUEs7CeviyFvNifbYjqI7JgaK1RtI-JguGMw4P68kFw7sj_ivifeEziOjpDRgB2OT7NxMNZhcc. with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details.
0 Kudos
1 Solution

Accepted Solutions
JamesTedrick
Esri Esteemed Contributor

Hi Alex,

The error that multiple CORS values were returned indicates an issue with the ArcGIS Enterprise installation - likely an incorrect setting in the Web Adaptor to either provide CORS headers (if ArcGIS Enterprise is also sending the headers) or to provide the list of multiple headers.

View solution in original post

5 Replies
JamesTedrick
Esri Esteemed Contributor

Hi Alex,

The error that multiple CORS values were returned indicates an issue with the ArcGIS Enterprise installation - likely an incorrect setting in the Web Adaptor to either provide CORS headers (if ArcGIS Enterprise is also sending the headers) or to provide the list of multiple headers.

SeguimientoESRI
Esri Contributor

Good evening

When installing survey 123 web site version 3.11 I get the following error: "The survey does not exits or is not accessible".
It is installed on the same server Portal version 10.8.1, according to the solution indicated it refers to CORS. How can I solve the problem?

Thank you.

JanSarata
Esri Contributor

Hello,

I have completely the same error.

JanSarata_0-1618232180604.png

 

Any ideas?

 

Thanks,

Jan

0 Kudos
HaticeKorkulu2
Occasional Contributor

Hello,

I have the same problem, too. Does anyone find a solution?

Thanks,

Hati

0 Kudos
JanSarata
Esri Contributor

Hi,

I haven't tried yet but from the communication with Esri Technical Support, update to 3.12 version could help.

Also try different browser (IE or Firefox).

Jan

0 Kudos