English

Problem: Clicking Approve for the Portal URL and APP ID in Web AppBuilder for ArcGIS (Developer Edition) fails with the error “no token found, redirect/ webappbuilder”

Description

When launching Web AppBuilder for ArcGIS (Developer Edition), clicking the Approve button after entering the Portal URL and the App ID in the configuration page fails and redirects the user to the same configuration page. In the startup.bat command prompt, the following error is returned:

Error:
no token is found, redirect /webappbuilder

Cause

There are two possible causes for the issue:

  • The Portal URL was entered using http instead of https.
  • The domain name of the machine is not listed in the Allow Origins settings in the Portal for ArcGIS Organization settings. Due to the cross-origin domain restriction, Web AppBuilder for ArcGIS is unable to communicate with Portal for ArcGIS if the domain name is not listed in the settings.

Solution or Workaround

Use one of the following solutions according to the cause.

  • Use https instead of http for the Portal URL.
  • Include the domain machine name in the Allow Origins settings.
  1. Navigate to the Portal for ArcGIS Home page.
https://[domain name]/portal/home
  1. Click Organization > Edit Settings.
The image of the Organization page.
  1. Click Security.
The image of the Edit Settings page.
  1. Under Allow Origins, fill in the domain name in the text box and click ADD DOMAIN.
The image of the Allow Origins settings.
  1. Click Save.

Related Information