YoloSwagTeam / t2m

Twitter to Mastodon timeline forwarding tool
GNU General Public License v3.0
76 stars 15 forks source link

code 34 - Sorry, that page does not exist. #28

Open monkeyworknet opened 2 years ago

monkeyworknet commented 2 years ago

When running I'm getting back the following error - not sure where to go at this point?

username@miniserv:~/t2m$ t2m one twitter_account -m username@mymastinstance.com  -n 10 -d
Traceback (most recent call last):
  File "/home/username/.local/bin/t2m", line 8, in <module>
    sys.exit(main())
  File "/home/username/.local/lib/python3.9/site-packages/t2m/__init__.py", line 488, in main
    parser.dispatch()
  File "/home/username/.local/lib/python3.9/site-packages/argh/helpers.py", line 55, in dispatch
    return dispatch(self, *args, **kwargs)
  File "/home/username/.local/lib/python3.9/site-packages/argh/dispatching.py", line 174, in dispatch
    for line in lines:
  File "/home/username/.local/lib/python3.9/site-packages/argh/dispatching.py", line 277, in _execute_command
    for line in result:
  File "/home/username/.local/lib/python3.9/site-packages/argh/dispatching.py", line 260, in _call
    result = function(*positional, **keywords)
  File "/home/username/.local/lib/python3.9/site-packages/t2m/__init__.py", line 385, in one
    _forward(db, twitter_handle, mastodon_handle, number=number,
  File "/home/username/.local/lib/python3.9/site-packages/t2m/__init__.py", line 286, in _forward
    to_toot = _collect_toots(twitter_client, twitter_handle,
  File "/home/username/.local/lib/python3.9/site-packages/t2m/__init__.py", line 156, in _collect_toots
    for i in reversed(twitter_client.GetUserTimeline(
  File "/home/username/.local/lib/python3.9/site-packages/twitter/api.py", line 812, in GetUserTimeline
    data = self._ParseAndCheckTwitter(resp.content.decode('utf-8'))
  File "/home/username/.local/lib/python3.9/site-packages/twitter/api.py", line 4908, in _ParseAndCheckTwitter
    self._CheckForTwitterError(data)
  File "/home/username/.local/lib/python3.9/site-packages/twitter/api.py", line 4928, in _CheckForTwitterError
    raise TwitterError(data['errors'])
twitter.error.TwitterError: [{'code': 34, 'message': 'Sorry, that page does not exist.'}]
username@miniserv:~/t2m$