When I send request with wrong x-api-key, I get default response as
{
"message": "Forbidden"
}
I can modify error response from lambda if it hits my lambda function. But in this case aws sends default error response.
I have different error format for my endpoint
{
type:"error",
"message":"...",
"status":"...",
"code":403,
...
}
Is there any way to change to above format?
