twscrape icon indicating copy to clipboard operation
twscrape copied to clipboard

account can not login /,All connection attempts failed

Open sgdsghjgdwkj opened this issue 6 months ago • 7 comments

httpx.HTTPStatusError: Client error '403 Forbidden' for url 'https://api.x.com/1.1/onboarding/task.json?flow_name=login'

api error : All connection attempts failed

sgdsghjgdwkj avatar Oct 10 '25 01:10 sgdsghjgdwkj

@BonifacioCalindoro Have you encountered this problem?

sgdsghjgdwkj avatar Oct 10 '25 01:10 sgdsghjgdwkj

403 error:

Attention Required! | Cloudflare

Sorry, you have been blocked

You are unable to access x.com

  <div class="cf-section cf-highlight">
    <div class="cf-wrapper">
      <div class="cf-screenshot-container cf-screenshot-full">
        
          <span class="cf-no-screenshot error"></span>
        
      </div>
    </div>
  </div><!-- /.captcha-container -->

  <div class="cf-section cf-wrapper">
    <div class="cf-columns two">
      <div class="cf-column">
        <h2 data-translate="blocked_why_headline">Why have I been blocked?</h2>

        <p data-translate="blocked_why_detail">This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.</p>
      </div>

      <div class="cf-column">
        <h2 data-translate="blocked_resolve_headline">What can I do to resolve this?</h2>

        <p data-translate="blocked_resolve_detail">You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.</p>
      </div>
    </div>
  </div><!-- /.section -->

  <div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">

Cloudflare Ray ID: 98c265592ef35233 Performance & security by Cloudflare

</div><!-- /#cf-error-details -->

sgdsghjgdwkj avatar Oct 10 '25 01:10 sgdsghjgdwkj

help,please @vladkens

sgdsghjgdwkj avatar Oct 10 '25 01:10 sgdsghjgdwkj

Same issue here, not sure if this is caused by some update to x.com or if the account provided insufficient cookies.

ForzonLazure avatar Oct 25 '25 03:10 ForzonLazure

Same issue here, not sure if this is caused by some update to x.com or if the account provided insufficient cookies. Has your problem been solved?

sgdsghjgdwkj avatar Oct 28 '25 08:10 sgdsghjgdwkj

Anyone able to login accounts? Anyone see 399 error AttestationDenied?

caterpillar1219 avatar Nov 06 '25 06:11 caterpillar1219

Same issue here, which seems to be due to x.com adding Cloudflare protection to the login interface, causing the original login process to fail.

fanqiewanzi avatar Nov 07 '25 03:11 fanqiewanzi