'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.

preguntada hace 9 meses612 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
EXPERTO
respondido hace 9 meses
profile pictureAWS
EXPERTO
revisado hace 9 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas