We just upgraded our Portal to 10.6 and we switched authentication from IWA (SSO) to OAUTH (Explicit Login). Using Connect 2.7.72 when I publish, as soon as I click on the Publish button, Connect opens the Publish Survey dialog, and as soon as Creating folder Info appears Error code: 400 Unable to create folder errors appears.
One thing I notice with Connect when I switch from one portal to another (Test to UA or UA to test), connect launches a browser with the html title SUCCESS code: and on the page it specifies:
OAuth2 Approval |
Please copy this code, switch to your application and paste it there:
Hi Renato
We have a bug open that results in Connect not properly switching out of an IWA portal (although it looks like you are signed into the new portal - you are actually still signed in to the original IWA portal). Please can you select the new portal in your list, then close Connect and then re-open it and sign in. Then try to publish again. You will need to make sure the survey name is unique, as the 400 error usually occurs when the survey directory already exists in the portal (following a failed publish).
If this is not the issue, could you share some console logs of this failed login:
Troubleshoot—Survey123 for ArcGIS | ArcGIS
Also please confirm whether or not you are using external browser sign in.
Thanks
John