When adding a KML file using the 'From my computer' option to Portal for ArcGIS, the following error message is returned:
Error: Unable to load KML: Internal kml parser error.
The error occurs because the script in the KML file is not encoded using UTF-8.
Follow the steps below to encode the script using UTF-8.
Get help from ArcGIS experts
Download the Esri Support App