CodeGenieApp/serverless-express

BasePathMapping

Open

#596 创建于 2022年12月11日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)JavaScript (4,977 star) (674 fork)batch import
help wanted

描述

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

贡献者指南