question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 2 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
eldadfuxcommented, Apr 11, 2021

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 image

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#general

0reactions
TorstenDittmanncommented, Aug 13, 2021

This got fixed now with #1434 🙌🏻

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found