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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many new videos trigger a 429 Too Many Requests from Mux #309

Open
Hahlh opened this issue Oct 28, 2024 · 0 comments
Open

Many new videos trigger a 429 Too Many Requests from Mux #309

Hahlh opened this issue Oct 28, 2024 · 0 comments

Comments

@Hahlh
Copy link

Hahlh commented Oct 28, 2024

 Error creating a Mux Direct Upload

RateLimitError: 429 {"errors":["Too many requests, retry later."]}
    at APIError.generate (file:///home/user/projects/clients/sonnenglas/tailwindui-commit/sonnenglas-changelog/node_modules/@mux/mux-node/error.mjs:54:20)
    at Mux.makeStatusError (file:///home/user/projects/clients/sonnenglas/tailwindui-commit/sonnenglas-changelog/node_modules/@mux/mux-node/core.mjs:246:25)
    at Mux.makeRequest (file:///home/user/projects/clients/sonnenglas/tailwindui-commit/sonnenglas-changelog/node_modules/@mux/mux-node/core.mjs:289:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Module.uploadLocalFile (file:///home/user/projects/clients/sonnenglas/tailwindui-commit/sonnenglas-changelog/node_modules/next-video/dist/providers/mux/provider.js:113:14) {
  status: 429,
  headers: {
    'cache-control': 'max-age=0, private, must-revalidate',
    'content-length': '46',
    'content-type': 'application/json; charset=utf-8',
    date: 'Mon, 28 Oct 2024 12:03:26 GMT',
    server: 'Mux API Server',
    'x-request-id': 'GAKcQF6BfLMPsbAPIOqC'
  },
  error: { errors: [ 'Too many requests, retry later.' ] }
}

There should potentially be an additional initial request delay introduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant