Package name in this build: twscrape 0.20.1.
| Exception or log | What it means |
|---|---|
NoAccountError | No account available for queue {queue} |
HandledError | x-rate-limit-remaining is 0, or the error starts with (88) Rate limit exceeded. |
HandledError | The error starts with (326) Authorization: Denied by access control. |
HandledError | (32) Could not authenticate you, or HTTP 403 with no error body. |
AbortReqError | The response is HTML and the status is 400 or higher. The log says Blocked by Cloudflare or Blocked by HTML. |
| Login returns false | Failed to login '{username}' or MFA code is required. |
GqlFeaturesOutdatedError | (336) The following features cannot be null, then Update GQL_FEATURES in api.py. |
AbortReqError | Faield to get XClIdGen. See: https://github.com/vladkens/twscrape/issues/248 |
The spelling Faield is the string in the source.
SocialScrape#
Profile is GET /v1/twitter/profile. One post is GET /v1/twitter/tweet. A profile's posts are GET /v1/twitter/profile/tweets. These read what X shows logged out.
Failed requests cost 0 credits. New accounts get 100 credits on signup, no card. Suspended accounts come back as removed, unknown ones as not_found.