Skip to content

'Unable to apply step' error while reading data in map state

0

This the asl I added Enter image description here

Return statement in "pdf split function" is: Enter image description here

I got this error Enter image description here

I did not understand what is the exact error. Help me in solving this.

1 Answer
0
Accepted Answer

Hi Jyothsna,

the Step Function state machine is expecting an object with a property pages however your input is a string that contains JSON.

You need to remove the json.dumps() in your return statement.

AWS
EXPERT
answered 2 years ago
AWS
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.