How to handle map internal errors in distributed mode for csv file iteration

0

I am working with Step Function, and I have a MAP type step to which I pass an S3 path in which there is a csv on which the MAP has to iterate. In each loop of the map, a script is executed with the csv record. If any step inside the MAP fails, I want the whole MAP to fail, so I can handle the error from outside the MAP.

This is the step flow visualization: Enter image description here

This is the step flow configuration: Enter image description here

This is the Maps Error handling: Enter image description here

For now, the internal step are failing but the error is not being detected by MAP, so we cannot handle it by the email error.

2回答
1
承認された回答

I had the checkbox for Failure tolerance enabled by default. I've disabled it and now it's working.

Amaia
回答済み 3ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前
0

You can use Tolerated Failure Percentage to define how many errors you can tolerate. If you set it to 0, each error will cause the Map state to fail.

profile pictureAWS
エキスパート
Uri
回答済み 3ヶ月前
  • I can't set it to 0. It says value greater than 1 both por % and #items.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ