Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

[BUG] Erro login "Updates to Our Terms and Data Policy" #1270

Closed
lucasalberto01 opened this issue Jan 31, 2020 · 2 comments
Closed

[BUG] Erro login "Updates to Our Terms and Data Policy" #1270

lucasalberto01 opened this issue Jan 31, 2020 · 2 comments

Comments

@lucasalberto01
Copy link

Describe the bug

When I try to login with the username and password, a message appears saying that the terms of use have updated and does not complete the login.
I tried to log in using my cell phone to try to accept these new terms but the message doesn't appear

Log


2020-01-31 12:36:51,391 - INFO - Instabot Started
2020-01-31 12:36:51,392 - DEBUG - Loading cookies
2020-01-31 12:36:51,392 - DEBUG - Loading uuids
2020-01-31 12:36:51,393 - INFO - Recovery from az.bot_oficial_uuid_and_cookie.json: COOKIE True - UUIDs True - TIMING, DEVICE and ...
- user-agent=Instagram 105.0.0.18.119 Android (28/9.0; 420dpi; 1080x2260; OnePlus; GM1903; OnePlus7; qcom; en_US)
- phone_id=f9362372-7537-4e6d-969f-ec5682471b1e
- uuid=4a1494bb-8202-42fe-8eb8-e80bfd505b2c
- client_session_id=76006d2c-1785-490c-b96b-1b4e6600d01a
- device_id=android-ee0326904a7c0bb6
2020-01-31 12:36:51,393 - INFO - LOGIN FLOW! Just logged-in: False
2020-01-31 12:36:51,525 - DEBUG - POST to endpoint: feed/timeline/ returned response: <Response [400]>
2020-01-31 12:36:51,525 - DEBUG - Responsecode indicates error; response content: b'{"message": "consent_required", "consent_data": {"headline": "Updates to Our Terms and Data Policy", "content": "We\'ve updated our Terms and made some changes to our Data Policy. Please take a moment to review these changes and let us know that you agree to them.\\n\\nYou need to finish reviewing this information before you can use Instagram.", "button_text": "Review Now"}, "status": "fail"}'
2020-01-31 12:36:51,525 - ERROR - Request returns 400 error!
2020-01-31 12:36:51,525 - INFO - Instagram's error message: consent_required
2020-01-31 12:36:51,526 - INFO - Instagram's error message: {}
2020-01-31 12:36:51,631 - DEBUG - POST to endpoint: feed/reels_tray/ returned response: <Response [400]>
2020-01-31 12:36:51,632 - DEBUG - Responsecode indicates error; response content: b'{"message": "consent_required", "consent_data": {"headline": "Updates to Our Terms and Data Policy", "content": "We\'ve updated our Terms and made some changes to our Data Policy. Please take a moment to review these changes and let us know that you agree to them.\\n\\nYou need to finish reviewing this information before you can use Instagram.", "button_text": "Review Now"}, "status": "fail"}'
2020-01-31 12:36:51,632 - ERROR - Request returns 400 error!
2020-01-31 12:36:51,632 - INFO - Instagram's error message: consent_required
2020-01-31 12:36:51,632 - INFO - Instagram's error message: {}
2020-01-31 12:36:51,633 - INFO - Login flow failed, the cookie is broken. Relogin again.
2020-01-31 12:36:51,634 - DEBUG - Loading cookies
2020-01-31 12:36:51,634 - DEBUG - Loading uuids
2020-01-31 12:36:51,634 - INFO - Recovery from az.bot_oficial_uuid_and_cookie.json: COOKIE True - UUIDs True - TIMING, DEVICE and ...
- user-agent=Instagram 105.0.0.18.119 Android (28/9.0; 420dpi; 1080x2260; OnePlus; GM1903; OnePlus7; qcom; en_US)
- phone_id=f9362372-7537-4e6d-969f-ec5682471b1e
- uuid=4a1494bb-8202-42fe-8eb8-e80bfd505b2c
- client_session_id=76006d2c-1785-490c-b96b-1b4e6600d01a
- device_id=android-ee0326904a7c0bb6
2020-01-31 12:36:51,635 - INFO - PRE-LOGIN FLOW!...
2020-01-31 12:36:51,751 - DEBUG - POST to endpoint: accounts/read_msisdn_header/ returned response: <Response [400]>
2020-01-31 12:36:51,751 - DEBUG - Responsecode indicates error; response content: b'{"message": "consent_required", "consent_data": {"headline": "Updates to Our Terms and Data Policy", "content": "We\'ve updated our Terms and made some changes to our Data Policy. Please take a moment to review these changes and let us know that you agree to them.\\n\\nYou need to finish reviewing this information before you can use Instagram.", "button_text": "Review Now"}, "status": "fail"}'
2020-01-31 12:36:51,752 - ERROR - Request returns 400 error!
2020-01-31 12:36:51,752 - INFO - Instagram's error message: consent_required
2020-01-31 12:36:51,752 - INFO - Instagram's error message: {}
2020-01-31 12:36:51,861 - DEBUG - POST to endpoint: launcher/sync/ returned response: <Response [400]>
2020-01-31 12:36:51,862 - DEBUG - Responsecode indicates error; response content: b'{"message": "consent_required", "consent_data": {"headline": "Updates to Our Terms and Data Policy", "content": "We\'ve updated our Terms and made some changes to our Data Policy. Please take a moment to review these changes and let us know that you agree to them.\\n\\nYou need to finish reviewing this information before you can use Instagram.", "button_text": "Review Now"}, "status": "fail"}'
2020-01-31 12:36:51,862 - ERROR - Request returns 400 error!
2020-01-31 12:36:51,863 - INFO - Instagram's error message: consent_required
2020-01-31 12:36:51,863 - INFO - Instagram's error message: {}
2020-01-31 12:36:51,977 - DEBUG - POST to endpoint: qe/sync/ returned response: <Response [200]>
2020-01-31 12:36:52,084 - DEBUG - POST to endpoint: attribution/log_attribution/ returned response: <Response [400]>
2020-01-31 12:36:52,084 - DEBUG - Responsecode indicates error; response content: b'{"message": "consent_required", "consent_data": {"headline": "Updates to Our Terms and Data Policy", "content": "We\'ve updated our Terms and made some changes to our Data Policy. Please take a moment to review these changes and let us know that you agree to them.\\n\\nYou need to finish reviewing this information before you can use Instagram.", "button_text": "Review Now"}, "status": "fail"}'
2020-01-31 12:36:52,084 - ERROR - Request returns 400 error!
2020-01-31 12:36:52,085 - INFO - Instagram's error message: consent_required
2020-01-31 12:36:52,085 - INFO - Instagram's error message: {}
2020-01-31 12:36:52,192 - DEBUG - POST to endpoint: accounts/contact_point_prefill/ returned response: <Response [400]>
2020-01-31 12:36:52,192 - DEBUG - Responsecode indicates error; response content: b'{"message": "consent_required", "consent_data": {"headline": "Updates to Our Terms and Data Policy", "content": "We\'ve updated our Terms and made some changes to our Data Policy. Please take a moment to review these changes and let us know that you agree to them.\\n\\nYou need to finish reviewing this information before you can use Instagram.", "button_text": "Review Now"}, "status": "fail"}'
2020-01-31 12:36:52,192 - ERROR - Request returns 400 error!
2020-01-31 12:36:52,193 - INFO - Instagram's error message: consent_required
2020-01-31 12:36:52,193 - INFO - Instagram's error message: {}
2020-01-31 12:36:52,307 - DEBUG - POST to endpoint: accounts/login/ returned response: <Response [400]>
2020-01-31 12:36:52,307 - DEBUG - Responsecode indicates error; response content: b'{"message": "consent_required", "consent_data": {"headline": "Updates to Our Terms and Data Policy", "content": "We\'ve updated our Terms and made some changes to our Data Policy. Please take a moment to review these changes and let us know that you agree to them.\\n\\nYou need to finish reviewing this information before you can use Instagram.", "button_text": "Review Now"}, "status": "fail"}'
2020-01-31 12:36:52,307 - ERROR - Request returns 400 error!
2020-01-31 12:36:52,308 - INFO - Instagram's error message: consent_required
2020-01-31 12:36:52,308 - INFO - Instagram's error message: {}
2020-01-31 12:36:52,308 - INFO - Username or password is incorrect.

To Reproduce

from instabot import Bot user = "your user" pwd = "your password" bot = Bot(message_delay=1) bot.login(username=user, password=pwd)

Additional context
On my pc it works normally, the problem started when I upgraded to VPS.
My Pc is in Brazil and VPS in the USA... Maybe the different ip made Instagram send new service terms

@duplicate-issues
Copy link

Hey @lucas-alberto98,

We did a quick check and this issue looks very darn similar to

This could be a coincidence, but if any of these issues solves your problem then I did a good job 😄

If not, the maintainers will get to this issue shortly.

Cheers,
Your Friendly Neighborhood ProBot

@bruvv bruvv added the bug label Jan 31, 2020
@stale
Copy link

stale bot commented Mar 31, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 31, 2020
@stale stale bot closed this as completed Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants