createSession with error response `Too many requests`
See original GitHub issue🐛 Bug Report
flutter sdk createSession with error
appwrite | [Error] Timestamp: 2021-04-11T17:42:22+00:00
appwrite | [Error] Method: POST
appwrite | [Error] URL: /v1/account/sessions
appwrite | [Error] Type: Utopia\Exception
appwrite | [Error] Message: Too many requests
appwrite | [Error] File: /usr/src/code/app/controllers/shared/api.php
appwrite | [Error] Line: 71
Have you spent some time to check if this issue has been raised before?
YES
To Reproduce
appwrite version 0.7.2 appwrite flutter 0.4.0
Expected behavior
login fail
Actual Behavior
login success
Your Environment
appwrite install on ubuntu 20.04
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
How to Fix the HTTP 429 Too Many Requests Error - Kinsta
The HTTP 429 error is returned when too many requests are made to a page within a short period of time. Find out...
Read more >429 Too Many Requests - HTTP - MDN Web Docs
The HTTP 429 Too Many Requests response status code indicates the user has sent too many requests in a given amount of time...
Read more >Advanced Usage — Requests 2.28.1 documentation
The Session object allows you to persist certain parameters across requests. It also persists cookies across all requests made from the Session instance,...
Read more >Test passes with 'post request' but not 'POST On Session'
I've written a script for a Login POST request using a youtube tutorial that looks something like this: Login create session mysession ...
Read more >RequestsLibrary - MarketSquare
among multiple requests, a new connection needs to be prepared with Create Session and passed to the * On Session keywords.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @kutear, the
createSession
endpoint is limited to 10 request per hour for each unique email address. This is meant to protect your endpoint from malicious users trying to hack an account.As mentioned here: https://appwrite.io/docs/client/account?sdk=web#accountCreateSession
You can disable the abuse protection with the
_APP_OPTIONS_ABUSE
environment variable. Note that this option is not recommended for production usage. You can learn more about it here: https://appwrite.io/docs/environment-variables#generalThis got fixed now with #1434 🙌🏻