Getting TypeError: Cannot read properties of undefined (reading 'routing') on every invocation. The event body is a stringified JSON blob instead of an object, so JSON.parse(event.body) is required. Here’s the handler:
exports.handler = async (event) => {
const payload = JSON.parse(event.body);
console.log(payload.routing.queueId);
};
Why is the SDK not parsing this automatically?