Possible malformed shape detected - ES 7.9.3

Try to fix invalid geometries using a tool like mapshaper (web or from the command line)

mapshaper \
-i test.geojson \
-clean -o format=geojson rfc7946 test.mapshaper.geojson

After that I could import the polygon into ES using Elastic Maps GeoJSON Upload without much issue