ERROR
When uploading a KML file with the Add Data widget in ArcGIS Experience Builder, the upload fails and returns the following error message:
Error: The file <file name> cannot be successfully uploaded.

The KML endpoint in the ArcGIS Portal Directory returns the following error message:
Error: KML service is disabled.
Error: 503

The KML service is disabled in Portal for ArcGIS. Since ArcGIS Enterprise 10.9, the enableKmlService property is available in the Portal for ArcGIS system settings. By default, this property is set to true. When the property is set to false through the ArcGIS Portal Administrator Directory, the KML service is disabled, causing KML uploads to fail.
To enable the KML service, apply the steps below.
{"enableKmlService":true}
Note: Applying the following step restarts the portal.
Article ID: 000037143
Get help from ArcGIS experts
Start chatting now