HI @yos
, I gave your GitHub project a try, but it did not transition to the handle error states when my error response from a lambda function contained:
"BookHotelResult":{"statusCode":500,"body":{"bookHotelSuccess":false,"error":"Missing required key 'TableName' in params"}}
To generate this error, you could not pass in Table name for the Book Hotel lambda function. Please let me know if I may have missed something.
This error could be because of missing TableName environment variables supplied from process.env.*. Could you check that your Environment Variables are populated? Specifically: github.com/yosriady/serverless-sag...
hi @yos
, I purposely introduced the error, my expectation is that the state machine would have transitioned to the error states, but it instead transitioned to success states.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
HI @yos , I gave your GitHub project a try, but it did not transition to the handle error states when my error response from a lambda function contained:
To generate this error, you could not pass in Table name for the Book Hotel lambda function. Please let me know if I may have missed something.
This error could be because of missing TableName environment variables supplied from
process.env.*
. Could you check that your Environment Variables are populated? Specifically: github.com/yosriady/serverless-sag...You can check it from your AWS Lambda console.
hi @yos , I purposely introduced the error, my expectation is that the state machine would have transitioned to the error states, but it instead transitioned to success states.