status codes http api gateway proxy

0

What is the difference between the Integration status and status?

IntegrationError

IntegrationErrorMSG

IntegrationLatency 5034 IntegrationStatus 200 IntegrationStatus1

ResponseLatency 5039 ResponseLength 33 SourceIP 35.188.180.105 Stage $default Status 503 UserAgent akka-http/10.2.10

Mystic
asked 8 months ago266 views
1 Answer
1

IntegrationStatus - For Lambda proxy integration, this parameter represents the status code returned from Lambda, not from the backend Lambda function. Status represents returned from an integration. For AWS Lambda proxy integrations, this is the status code that your Lambda function code returns.

In your case, status is HTTP 503. A 503 error code is related to the backend integration and if the API Gateway API can't receive a response.

This error might occur in the following scenarios:

The backend server is overloaded beyond capacity and can't process new client requests. The backend server is under temporary maintenance. To resolve this error, consider provisioning more resources to the backend server and activating an exponential backoff and retry mechanism on the client. Then, try the request again.

AWS
snathan
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions