Error: Unable to setup base domain mappings

Error: Unable to setup base domain mappings

Any idea why I get this error? It looks that in aws there is no problem, but im not sure.

service: example-api

app: example-api
org: company

provider:
name: aws
runtime: nodejs12.x

outputs:
custom-output: any-value-here

functions:
hello:
handler: handler.hello
events:
- http:
path: hello
method: get
cors: true

plugins:

  • serverless-domain-manager

custom:
customDomain:
domainName: api.example.tk
basePath: ‘’
stage: ${self:provider.stage}
createRoute53Record: true

Here is the answer

Serverless Domain Manager: Error: user-management.creatoriq.com: BadRequestException: Only REGIONAL domain names can be managed through the API Gateway V2 API. For EDGE domain names, please use the API Gateway V1 API. Also note that only REST APIs can be attached to EDGE domain names.

Serverless Domain Manager: Error: your.custom.domain: Error: Error: your.custom.domain: Unable to update basepath mapping.