ERROR

Portal for ArcGIS: The URL you provided is incorrect

Last Published: January 8, 2025

Error Message

When adding an external service URL to Portal for ArcGIS Map Viewer, the following error message is returned:

Error:
The URL you provided is incorrect.
The error message in Portal for ArcGIS Map Viewer

Cause

  • An incorrect URL is provided.
  • The item service URL is obtained from a deprecated ArcGIS Server version.
  • SSL decryption is set up for security purposes. When accessing external service URLs, the security system intercepts the request and replaces the certificate with an internal certificate. Since the certificate is internal, Esri software does not have it in its trust store, making it untrusted.
  • The error is returned due to BUG-000158980, which affects ArcGIS Enterprise version 11.1 and earlier.

Solution or Workaround

Provide the correct URL

Provide the correct service URL in the URL box. Refer to Portal for ArcGIS: Add a service or document from a URL for more information.

Republish the service to the latest ArcGIS Server version

To add the item in Portal for ArcGIS Map Viewer, republish the service to the latest ArcGIS Server version.

  1. Upgrade ArcGIS Server. Refer to ArcGIS Enterprise: Upgrade ArcGIS Server for instructions.
  2. Publish the service to the upgraded ArcGIS Server version. Refer to ArcGIS Server: Publish services using Server Manager or ArcGIS Server: Service publishing in ArcGIS Pro for instructions and more information.

Export the internal certificates and import them to the Portal Administrator Directory

Export the internal certificates, which include the root and intermediate certificates, and import them to the Portal Administrator Directory.

  1. Open the service URL in a web browser.
  2. Export the root and intermediate certificates of the internal Certificate Authority (CA).
    1. On the left of the URL address, click the View site information icon and select Connection is secure. The Connection is secure pop-up window is opened.
    2. Click the Show certificate (issued by <Ceritficate Authority name>) icon.
    3. In the Certificate Viewer: <website name> window, click the Details tab.
    4. Under Certificate Hierarchy, select the root certificate, located at the top of the certificate hierarchy, and click Export....
    5. In the Save As window, click Save.
    6. Repeat Steps 2a through 2e to export the intermediate certificates. For Step 2d, select the intermediate certificates.
  3. Import the certificate to the Portal Administrator Directory. For instructions, refer to the Import the certificate to the Primary Portal section in How To: Import an SSL certificate to a highly available environment.

Install the Portal for ArcGIS Application Display Patch

To install the Portal for ArcGIS Application Display Patch, refer to Patches and Updates: Portal for ArcGIS Application Display Patch.

Note:
The bug is first addressed through the Portal for ArcGIS 11.1 Sharing Patch, which is now obsolete and replaced by the Portal for ArcGIS Application Display Patch.

Article ID: 000032641

Software:
  • Portal for ArcGIS
  • ArcGIS Enterprise 11 3
  • ArcGIS Enterprise 11 2
  • ArcGIS Enterprise 11 4

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options