API with Lambda Integration Troubleshooting
3 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What should you do to troubleshoot an API with a Lambda integration that returns {"message":"Internal Server Error"}?

  • Check your Lambda function code (correct)
  • Add $context.error.message to the log format
  • Create a Lambda integration in the API Gateway console
  • Grant permissions for API Gateway to invoke the Lambda function
  • What should you do to ensure that API Gateway has the required permissions to invoke the Lambda function?

  • Check your Lambda function code
  • Add $context.error.message to the log format
  • Create a Lambda integration in the API Gateway console
  • Grant permissions for API Gateway to invoke the Lambda function (correct)
  • What should you do to view the error message in your logs?

  • Check your Lambda function code
  • Add $context.integrationErrorMessage to the log format (correct)
  • Create a Lambda integration in the API Gateway console
  • Grant permissions for API Gateway to invoke the Lambda function
  • More Like This

    Apigee API Proxy Troubleshooting
    0 questions
    API Flashcards - Aircrew Position Indicator
    20 questions
    Consulta de API en Servicios
    78 questions

    Consulta de API en Servicios

    ForemostNiobium1511 avatar
    ForemostNiobium1511
    Use Quizgecko on...
    Browser
    Browser