Skip to content

urls-invocation - status code 201 -> 502 error #430

@phillclark

Description

@phillclark

https://github.com/awsdocs/aws-lambda-developer-guide/blob/main/doc_source/urls-invocation.md

The documemtation here and on the AWS site (https://docs.aws.amazon.com/lambda/latest/dg/urls-invocation.html) shows the ability to use custom statusCode responeses (eg. 201 in the docs) but if you supply anything other than a 200 value from the returned Lambda function, the Function URL response will be a 502 "Internal Server Error".

Ideally, the processing code for the Function URL will accept any status code but failing that the documentation should be adjusted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions