Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throws "Too Many Requests" on deploy #622

Open
mklenbw opened this issue Mar 7, 2024 · 0 comments
Open

Throws "Too Many Requests" on deploy #622

mklenbw opened this issue Mar 7, 2024 · 0 comments
Labels

Comments

@mklenbw
Copy link

mklenbw commented Mar 7, 2024

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Bug Report

Error Description

Plugin throws "Too Many Requests" on deploy.

Command Run

serverless deploy

Console Output

Warning: V1 - 'api.example.cloud' does not exist.

脳 Stack example failed to deploy (44s)
Environment: linux, node 18.19.1, framework 3.38.0 (local), plugin 7.2.0, SDK 4.5.1
Credentials: Local, environment variables
Docs:        docs.serverless.com
Support:     forum.serverless.com
Bugs:        github.com/serverless/serverless/issues

Error:
Error: Unable to create domain 'api.example.cloud':
V1 - Failed to create custom domain 'api.example.cloud':
Too Many Requests
    at ServerlessCustomDomain.<anonymous> (/home/vsts/work/1/s/node_modules/serverless-domain-manager/dist/src/index.js:253:23)
    at Generator.throw (<anonymous>)
    at rejected (/home/vsts/work/1/s/node_modules/serverless-domain-manager/dist/src/index.js:6:65)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Domain Manager Configuration

Replace this with your own serverless.yml file (anonymized, of course) to help us better resolve your issue.

custom:
  customDomain:
    http:
      enabled: true
      domainName: redacted
      stage: dev
      certificateArn: redacted
      createRoute53Record: true
      endpointType: regional
      securityPolicy: tls_1_2
      basePath: "http"
      autoDomain: true
    rest:
      enabled: true
      domainName: redacted
      stage: dev
      certificateArn: redacted
      createRoute53Record: true
      endpointType: regional
      securityPolicy: tls_1_2
      basePath: "rest"
      autoDomain: true

Versions

  • Domain Manager version(s): 7.3.7
  • Node/npm version: 18.19.1
  • Serverless Version: 3.38.0
  • Lambda Code: Typescript

Possible Solution

Respect the qoutas given at https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html#api-gateway-control-service-limits-table

@mklenbw mklenbw added the bug label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant