Customize API Gateway response for different cases of MissingAuthenticationTokenException

0

Given "MissingAuthenticationTokenException" can be returned for:

  • Missing authentication token
  • Resource path does not exist.

Is there a way to customize API Gateway response for different MISSING_AUTHENTICATION_TOKEN? For example preserve the 403 statusCode for missing authentication token but querying valid resource paths, but return 404 for resource path does not exist.

Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas