Skip to content

Bug: AWS::Serverless::Api gateway responses are not working #9064

@rnza0u

Description

@rnza0u

Setting the GatewayResponses property does not work when using local start-api (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-api.html#sam-api-gatewayresponses).

This issue from 2019 is probably related : #1027

Right now every error that originates from the Authorizer or from an unhandled lambda exception cannot have CORS headers (or any sort of customization).

Metadata

Metadata

Assignees

No one assigned

    Labels

    stage/needs-triageAutomatically applied to new issues and PRs, indicating they haven't been looked at.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions