CodeGenieApp / CodeGenieApp/serverless-express

BasePathMapping

Open
#596 2 comments 1 reaction 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
5.3k
Forks
676
PR merge metrics
No merged PRs in 30d

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

Open the contributing guide

Research direction

Reproduce the failure using basic-starter-api-gateway-v2-typescript/ and inspect the generated AWS::ApiGateway::BasePathMapping resource for the custom domain. Start by checking how the example configures API Gateway domain mappings; done means the example deploys successfully without the REST/HTTP API mixing error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
api, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.