Skip to content
Discussion options

You must be logged in to vote

Hi @kkarthik-1,

As per Amazon API Gateway documentation, Lambda authorizers in API Gateway are limited to returning only 401 (Unauthorized) or 403 (Forbidden) status codes. It does not allow you to return custom HTTP status codes other than the standard 401 and 403 codes.

Regards,
Chaitanya

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ashishdhingra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants