1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
Please note that there are essentially following reasons why you should get this error:
- VPC links needs about 10 minutes to become available after creation. When the VPC links are not truly available, API returns this error.
- If you are using stage variables in VPC link settings, and the stage variables are not set correctly.
- If you are using HTTP VPC Link in REST API configurations or vice-versa.
I would like to mention that the VPC Link for HTTP API and REST API are different. They can't be used interchangeably i.e HTTP VPC Links are only for HTTP APIs and REST VPC Links are supposed to be only used with the REST API.
If VPC link is created for HTTP API, then to use VPC Links with REST API, you will have to create a new VPC Link for REST API and use that VPC Link ID in your REST API integration. Please refer the below documentation
If you still observe the issue, you can raise a case to AWS support team as they can guide you with the configurations
Thanks
answered 8 months ago
Relevant content
- asked 3 years ago
- asked 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago
Thank you, Sowjanya for your response.