Closed BrunoStel closed 1 year ago
Hi @BrunoStel
Could you please provide your serverless config example?
Of course, here is the part that is relevant for the problem:
customDomain: basePath: "" domainName: ${self:custom.stage}-URL stage: "${self:custom.stage}" certificateName: "*.certificado" createRoute53Record: true
Could you please try to remove the stage option from the customDomain
config and let me know the status?
I did it, but it didn't work, the same problem occurred. Our workaround was to downgrade de version to 6.2.0, and it worked.
I believe I know what is the issue, will try to fix it in the next release
invalid stage identifier specified
Community Note
Bug Report
Error Description After changing the file api-gateway-v1-wrapper.ts in 6.3.3 version a problem started to happen.
Command Run
sls create_domain
Console Output "Error: V1 - Make sure the 'URL do projeto' exists. Unable to create base path mapping for 'URL do projeto': Invalid stage identifier specified at APIGatewayV1Wrapper. (/app/node_modules/serverless-domain-manager/dist/src/aws/api-gateway-v1-wrapper.js:109:23)
at Generator.throw ()
at rejected (/app/node_modules/serverless-domain-manager/dist/src/aws/api-gateway-v1-wrapper.js:6:65)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
"
Versions
Possible Solution Rolling back to previous version solved the problem.