aws / aws/chalice

How can I customize Gateway Responses using Chalice?

Open
#1,762 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

When I raise exceptions, like BadRequestError, Chalice uses the model from Gateway Responses to show the error, usually `{"message":$context.error.messageString}`. I'd like to change the string from Chalice instead of go to admin request by request and modify everything. There's some way?

Contributor guide

Open the contributing guide

Research direction

Start with Chalice's handling of BadRequestError and the AWS API Gateway Gateway Responses model described in the issue. Determine whether Chalice exposes a supported way to change the error message template; if not, document the configuration boundary or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
api, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.