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
demandé il y a 9 mois278 vues
1 réponse
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
répondu il y a 8 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions