We use cookies on this site to enhance your user experience. You accept to our cookies if you continue to use this website.

AWS ElasticSearch Call to Authorization engine failed

While updating some lambda functions to AWS ElasticSearch Service version 6.3 the following error occurred:

StatusCodeError: 503 -
{
"Message": "Call to Authorization engine failed"
}

The error seems to be caused by the activated IAM Access Control. By adding the following parameter I was able to solve the issue.

retry_on_status=[502, 503, 504]