120142: Failed to load layer with URL <value>.

Description

The layer failed to load.

Solution

Confirm that there are no errors in the URL provided.

Confirm that the specified URL is a valid REST end point, for example, http://<domain>:6443/arcgis/rest/services/<serviceName>/FeatureServer/<layerIndex>.