CodeGenieApp/serverless-express

BasePathMapping

Open

#596 opened on Dec 11, 2022

View on GitHub
 (2 comments) (1 reaction) (0 assignees)JavaScript (4,977 stars) (674 forks)batch import
help wanted

Description

Hello, I'm trying to use a custom domain but I have the following error:

I'm using example: basic-starter-api-gateway-v2-typescript/

CREATE_FAILED                         AWS::ApiGateway::BasePathMapping      MyApiBasePathMapping

Resource handler returned message: 
Mixing of REST APIs and HTTP APIs  
on the same domain name can only be 
accomplished through API Gateway's  
V2 DomainName interface. Currently, 
WebSocket APIs can only be attached 
to a domain name with other         
WebSocket APIs. This must also      
occur through API Gateway's V2      
DomainName interface. (Service:     
ApiGateway, Status Code: 400,       
Request ID: 5187005f-3413-47bb-b777 
-6c98784001d0

Contributor guide