Git Product home page Git Product logo

Comments (1)

bitnexus avatar bitnexus commented on August 16, 2024

Same issue. Tried a few things to swat at this without any luck. Probably not exhaustive.

  1. Create new twitter account
  2. Downgrade to v0.1.0 image
  3. Kick/reinvite twitterbot

Environment: Kubernetes/Docker
Version: dock.mau.dev/mautrix/twitter:2a8b1df4c870e896dd6c8107a22ab9418b315f6c-amd64 (also v0.1.0)

countryCode does not appear in /api/1.1/branch/init.json in twitter request

[2021-11-26 21:04:51,641] [[email protected]] Received Matrix event $kBBN1FycQwikzNdbi9UhEVoZCYpHZwDkt4im6sYlx-s from @roy:bitnexus.com in !ntdowgBPECQbFxrHKZ:bitnexus.com
[2021-11-26 21:04:51,867] [[email protected]] Failed to log in
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/mautrix_twitter/commands/auth.py", line 59, in enter_login_cookies
    await evt.sender.connect(auth_token=evt.sender.command_status["auth_token"],
  File "/usr/lib/python3.9/site-packages/mautrix_twitter/user.py", line 125, in connect
    await client.get_user_identifier()
  File "/opt/mautrix-twitter/mautwitdm/twitter.py", line 151, in get_user_identifier
    resp_data = await check_error(resp)
  File "/opt/mautrix-twitter/mautwitdm/errors.py", line 64, in check_error
    raise TwitterError(code, message)
mautwitdm.errors.TwitterError: 38: countryCode parameter is missing.

from twitter.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.