Error in Class: AWS.ApiGatewayV2 getApi operation
See original GitHub issueInstalled the latest aws-sdk in Lambda Node.js 8.10.
Below error happened when calling getApi operation.
*Replaced real value with <account-id>:<api-id>
in the error
{
"message": "Invalid API identifier specified <account-id>:<api-id>",
"code": "NotFoundException",
"time": "2018-12-26T02:44:43.813Z",
"requestId": "331aa750-08b8-11e9-83ca-6b713e08a649",
"statusCode": 404,
"retryable": false,
"retryDelay": 20.59791196733176
}
ApiId is properly set in string form.
var params = {
ApiId: 'STRING_VALUE' /* required */
};
apigatewayv2.getApi(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Class: AWS.ApiGatewayV2 — AWS SDK for JavaScript
Amazon API Gateway V2 ... This object has one method for each API operation. Examples: ... The function is only called for retryable...
Read more >Class: Aws::ApiGatewayV2::Client — AWS SDK for Ruby V3
Any object that responds to #resolve_endpoint(parameters) where parameters is a Struct similar to Aws::ApiGatewayV2::EndpointParameters.
Read more >Handle Lambda errors in API Gateway - AWS Documentation
API Gateway handles these errors by mapping the Lambda error to an HTTP error ... the AWS CLI, call the update-integration-response operation to...
Read more >Api - Amazon API Gateway
Operation ID: GetApi The resource specified in the request was not found. The client is sending more than the allowed number of requests...
Read more >aws-cdk/aws-apigatewayv2 module - AWS Documentation
›@aws-cdk/aws-apigatewayv2 ... AWS::APIGatewayv2 Construct Library ... For example, the method below refers to the client side errors metric for this API.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
V2 is for creating and deploying WebSocket APIs.
You should use V1 for interacting with the PetStore API.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.