CodeGenieApp/serverless-express

BasePathMapping

Open

#596 aperta il 11 dic 2022

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)JavaScript (674 fork)batch import
help wanted

Metriche repository

Star
 (4977 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor