We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Internal Server Error
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem When there is an error in the Lambda function, the API Gateway returns a generic error "Internal Server Error"
Root cause
The function handle(Event:Lambdacontext) here
handle(Event:Lambdacontext)
func handle(_ request: Event, context: LambdaContext) async throws -> Output {
passes errors to the Lambda Runtime.
Possible solution
Manage errors in the handle(::) function and convert them in corresponding HTTP Error codes.
handle(::)
The text was updated successfully, but these errors were encountered:
map Swift errors to HTTP return codes (#2)
790e571
Fix with 790e571
Sorry, something went wrong.
No branches or pull requests
Problem
When there is an error in the Lambda function, the API Gateway returns a generic error "Internal Server Error"
Root cause
The function
handle(Event:Lambdacontext)
herepasses errors to the Lambda Runtime.
Possible solution
Manage errors in the
handle(::)
function and convert them in corresponding HTTP Error codes.The text was updated successfully, but these errors were encountered: