Help us improve the AWS re:Post Knowledge Center by sharing your feedback in a brief survey. Your input can influence how we create and update our content to better support your AWS journey.
Sending command via Node.js SDK results in 503 error
0
await lambda.send(
new GetFunctionConfigurationCommand({
FunctionName: name,
}),
);
SyntaxError: Unexpected token '<', "<html>
<h"... is not valid JSON
Adding logging code to the SDK reveals:
<html>
<head><title>503 Service Temporarily Unavailable</title></head>
<body>
<center><h1>503 Service Temporarily Unavailable</h1></center>
</body>
</html>