'500' Error Connecting to Survey123 Web from Portal

1132
5
05-21-2019 02:27 PM
StevenGonzalez1
New Contributor III

I've successfully published a sample Survey123 survey using Survey123 Connect; however, when trying to navigate to the online page for Survey123, where the individual beta reports are created, I seem to be running into "500 - Internal Server error". 

Using the Portal Url "https://gisportal.clarkcountyohio.gov/arcgis/", I should be able to navigate to https://survey123.arcgis.com/?portalUrl=https://gisportal.clarkcountyohio.gov/arcgisFollowing this page,

When I do, I get the correct message showing the PortalURL at the top of the page, as the page suggests:

1
But once I click "Sign In," I get the 500 server error message:
2
I've verified that a wildcard is used for cross-domain javascript requests, as found here and even tried updating the 'AllowedOrigins' from '*' to '*, https://survey123.arcgis.com/' to no avail.
If it helps, this is the URL that I get the 500 internal server error with:

Any suggestions???

Tags (1)
0 Kudos
5 Replies
JamesTedrick
Esri Esteemed Contributor

Hi Steven,

Unfortunately, the links to your images have expired - can you repost these in GeoNet (via the forum if you sent it via e-mail the first time?)

0 Kudos
StevenGonzalez1
New Contributor III

Hey James, I've re-inserted the photos. 

By the way, I found that I'm able to access the site if I go through the "Manage in Survey123 Website" via Survey123 Connect, so there is a work-around, but this wouldn't be convenient/possible for some users.

0 Kudos
StevenGonzalez1
New Contributor III

 James Tedrick‌,

An update:

Now the Survey123 Connect method doesn't seem to work. I get this error instead:

This page is displayed after I log into the Portal with the same credentials used to publish both the feature layer and the surveys. I've verified that the surveys are accessible within my organization. Furthermore, I am able to submit records to it still -- just can't view the data within the survey123 website.

Any help would be greatly appreciated!!

0 Kudos
JamesTedrick
Esri Esteemed Contributor

Hi Steven,

Regarding the Connect method - the webform does not appear to have the portalUrl parameter, which I would expect for your configuration; this is probably occurring the 'cannot find' a survey, as it is looking to ArcGIS Online without that parameter.

It appears you are using a 10.6 .1Portal, correct?  In that case you should not have been required to do any item configuration at all - did you create an item per the instructions for pre 10.5.1 (or was this Portal a previous version upgraded to 10.6.1)?  In that case, the error you are receiving might be from the fact there duplicate items with the same client id.

StevenGonzalez1
New Contributor III

James Tedrick‌,

Thanks for the info. I think this occured because I was using the incorrect Portal URL when signing into the Survey123 website. Instead of https://gisportal.clarkcountyohio.gov/portal/ , I was using https://gisportal.clarkcountyohio.gov/arcgis/ .

Thanks again for your prompt responses!