uncategorized
zakali at April 11th, 2021 17:34 — #1
We were testing and now are getting this message.
How long before we can re-try?
"error_name": "too_many_requests",
"error_message": "Too many requests",
"message": "Too many failed login attempts. Please wait a while before continuing.
Login action... API call error: Too many failed login attempts. Please wait a while before continuing.
vladimir at April 12th, 2021 09:01 — #2
Hello zakali!
Thanks for your question. Now the timeout limit is 5 hours for login via API calls. It was previously 1 hour, but the limit was increased due to big number of API calls (preventing password guessing and higher dos attack possibility). So now for all API calls the timeout limit it 5 hours.
I'd like to advise you not using this endpoint but use the contacts endpoint passing login data in the headers of your request. We're using what it called a basic authentication, please see our docs https://developer.onepagecrm.com/api/ (Authentication section) and you can find your user_id and api_key here https://app.onepagecrm.com/app/api.
I hope it helps, please feel free to ask your questions on our dev forum.
Thanks,
Vlad
Powered by Discourse, best viewed with JavaScript enabled