When calling a lambda it will always return with a 200 statusCode. Currently we have to check the payload to see if there is an error in there. We can put this logic in the helper so that we get an actual error in the callback we pass through the function.
When calling a lambda it will always return with a 200 statusCode. Currently we have to check the payload to see if there is an error in there. We can put this logic in the helper so that we get an actual error in the callback we pass through the function.