Testing TOTP 429 too many requests error

Is it possible to increase the rate of requests for testing purposes? I am using the testing env of the organization but still running into the 429 too many requests because i try to enroll a member again. I tried creating a new member and resetting the password but still getting the same.

Hey Irena – thanks for posting!

Would you mind sharing a request_id for one of the 429 errors that you’re running into? I’d like to take a look in our logs to identify the specific rate limit that you’re hitting.

Thanks so much!

Hello,

Thank you for the fast reply!

I have included a screenshot of an example of the 429 error I get. It happens when I try to enroll a member, so the totp create. I am implementing totp MFA for username and password login alongside SSO for microsoft. So I am getting a lot of overlap in the code and errors with the login flows, therefore I need to test it a lot. I made different organizations and used the live and test environments because all of them were reaching this limit. is it possible to completely remove this limit for one of my projects ?


request-id-test-c04d9b40-04c1-473a-aedf-a6ffec26ed0c
|

  • |

Hey Irena - thanks for sharing the request_id!

It looks like the rate limit you’re hitting here is actually a limit of 1 call/second/member_id for TOTP Create endpoint.

Looking at the surrounding logs for this request_id, it looks like another TOTP Create calls was made at almost the exact same time here - request-id-test-d7ca8714-d432-409f-9082-e57874deb409 - which is what caused the 429 error.

Can you check your calling code to see what might be causing these concurrent/repeated requests to the TOTP Create endpoint?