API with Lambda Integration Troubleshooting
3 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition

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

    Postman API Testing Quiz
    5 questions
    Apigee API Proxy Troubleshooting
    0 questions
    Consulta de API en Servicios
    78 questions

    Consulta de API en Servicios

    ForemostNiobium1511 avatar
    ForemostNiobium1511
    Use Quizgecko on...
    Browser
    Browser