Closed Mohammed-Fayaz closed 2 months ago
Hi @Mohammed-Fayaz 👋 thanks for raising this issue. This sounds very similar to another issue that was opened not too long ago regarding hitting the rate limit for calls to Cognito. I would recommend checking out this other issue, particularly this comment. You may be able to request a request quota increase.
Closing this issue as we have not heard back from you. If you are still experiencing this, please review this comment in the related (but now closed/resolved) issue or see if a quota increase helps resolve the problem. If either of those don't help, feel free to reply back and provide any relevant information/errors and we'd be happy to re-open the issue.
Thank you!
Before opening, please confirm:
JavaScript Framework
Next.js
Amplify APIs
REST API
Amplify Version
v6
Amplify Categories
api
Backend
Amplify Gen 2 (Preview)
Environment information
Describe the bug
Getting this error from the middleware in next.js
Expected behavior
Should not be rate limited
Reproduction steps
Set up aws-amplify using the gen 2 docs for next.js (middleware setup from here - https://docs.amplify.aws/nextjs/build-a-backend/server-side-rendering/nextjs-app-router-server-components/) Middleware will throw rate-limit errors sporadically.
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response