Hi,
First, when using an async function handler, you won’t need to define a callback function arg. That said, inside your handler function, you should be returning an object and not a promise like you are doing now. Just:
return {
headers: {},
statuscode: 200,
body: JSON.stringify(res)
}
Let me know how it goes.