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


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.

asked 10 months ago723 views
1 Answer
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.

profile pictureAWS
answered 10 months ago
profile pictureAWS
reviewed 10 months 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.

Guidelines for Answering Questions