---
slug: "aws-python-elasticsearch-UnsupportedProductError"
title: "Resolving UnsupportedProductError in Python ElasticSearch When Using AWS ElasticSearch"
description: "Format a USB stick as FAT32 + MBR on a Mac — explicit MBR via `diskutil eraseDisk` arguments."
url: "https://www.ytyng.com/en/blog/aws-python-elasticsearch-UnsupportedProductError"
publish_date: "2021-10-15T11:53:49Z"
created: "2021-10-15T11:53:49Z"
updated: "2026-05-11T13:21:41.247Z"
categories: ["AWS", "Python"]
keywords: ""
featured_image_url: "https://media.ytyng.com/resize/20230812/66e72a58c5e946d4b5ab9adaa32ce3c0.png.webp?width=768"
has_video: false
has_music: false
video_urls: []
music_urls: []
lang: "en"
---

# Resolving UnsupportedProductError in Python ElasticSearch When Using AWS ElasticSearch

If you encounter the following error:
<pre>elasticsearch.exceptions.UnsupportedProductError: The client noticed that the server is not a supported distribution of Elasticsearch</pre>
when connecting to AWS OpenSearch/Elasticsearch using the Python elasticsearch library version 7.14, you can resolve it by downgrading the library version. To do so, use the following command:
<pre>pip install "elasticsearch<7.14"</pre>
