I have Lambda-Proxy integration in API Gateway; Lambda has 2 GET APIs and 1 POST API.
GET is defined for
/drive/service/lookup/v1/codes
and /drive/service/lookup/v1/codes/{code}
POST is defined for
/v1/admin/apply
I called POST for one of the GET APIs /drive/service/lookup/v1/codes
, which is not implemented; ExpressJs
gives 404 on my local system.
When I call POST using API Gateway, I get 403 with the following message
{ "message": "'JWT-Token' not a valid key=value pair (missing equal-sign) in Authorization header: 'Bearer JWT-Token'." }
I have no settings for request and response at API Gateway (I have Lambda-Proxy, not Lambda integration)
I would like to get 404 which is a valid response. I have big JWT token and this message becomes unreadable.