ERROR

Unable to establish a secure connection to the layer. The layer cannot be added to the map

Last Published: October 1, 2025

Error Message

When attempting to add an ArcGIS Server web service through HTTP to an ArcGIS Online web map through HTTPS, the following error message may be returned:

Error: 
Unable to establish a secure connection to the layer. The layer, [layername], cannot be added to the map.
[O-Image]

Cause

The ArcGIS Online organization allows access through HTTPS only; therefore, content accessed through HTTP cannot be added to the web map.

Please see the following ArcGIS Online help topic: Configure security settings

Solution or Workaround

Add the GIS web service through HTTPS.

 

Article ID: 000013245

Software:
  • ArcGIS Server

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options