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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠