Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prawcore.exceptions.ServerError: received 500 HTTP response #181

Open
BootsSiR opened this issue Dec 12, 2024 · 0 comments
Open

prawcore.exceptions.ServerError: received 500 HTTP response #181

BootsSiR opened this issue Dec 12, 2024 · 0 comments

Comments

@BootsSiR
Copy link

Just started to get this today. Anyone else run into this?

INFO:shreddit:Logged in as xxx.
INFO:shreddit:Deleting ALL items before 2023-12-12T22:13:59.753115-04:00
INFO:shreddit:Deleting items not whitelisted until 2024-11-29T10:13:59.752951-04:00
INFO:shreddit:Ignoring ALL items after 2024-11-29T10:13:59.752951-04:00
INFO:shreddit:Targeting overview sorted by hot
INFO:shreddit:Loading items to delete...
WARNING:prawcore:Retrying due to 500 status: GET https://oauth.reddit.com/user/xxx/
WARNING:prawcore:Retrying due to 500 status: GET https://oauth.reddit.com/user/xxx/
Traceback (most recent call last):
  File "/home/xxx/.local/bin/shreddit", line 8, in <module>
    sys.exit(main())
  File "/home/xxx/.local/lib/python3.10/site-packages/shreddit/app.py", line 45, in main
    shredder.shred()
  File "/home/xxx/.local/lib/python3.10/site-packages/shreddit/shredder.py", line 68, in shred
    deleted = self._remove_things(self._build_iterator())
  File "/home/xxx/.local/lib/python3.10/site-packages/shreddit/shredder.py", line 143, in _remove_things
    to_delete = [item for item in items]
  File "/home/xxx/.local/lib/python3.10/site-packages/shreddit/shredder.py", line 143, in <listcomp>
    to_delete = [item for item in items]
  File "/home/xxx/.local/lib/python3.10/site-packages/praw/models/listing/generator.py", line 66, in __next__
    self._next_batch()
  File "/home/xxx/.local/lib/python3.10/site-packages/praw/models/listing/generator.py", line 90, in _next_batch
    self._listing = self._reddit.get(self.url, params=self.params)
  File "/home/xxx/.local/lib/python3.10/site-packages/praw/util/deprecate_args.py", line 46, in wrapped
    return func(**dict(zip(_old_args, args)), **kwargs)
  File "/home/xxx/.local/lib/python3.10/site-packages/praw/reddit.py", line 731, in get
    return self._objectify_request(method="GET", params=params, path=path)
  File "/home/xxx/.local/lib/python3.10/site-packages/praw/reddit.py", line 514, in _objectify_request
    self.request(
  File "/home/xxx/.local/lib/python3.10/site-packages/praw/util/deprecate_args.py", line 46, in wrapped
    return func(**dict(zip(_old_args, args)), **kwargs)
  File "/home/xxx/.local/lib/python3.10/site-packages/praw/reddit.py", line 963, in request
    return self._core.request(
  File "/home/xxx/.local/lib/python3.10/site-packages/prawcore/sessions.py", line 328, in request
    return self._request_with_retries(
  File "/home/xxx/.local/lib/python3.10/site-packages/prawcore/sessions.py", line 254, in _request_with_retries
    return self._do_retry(
  File "/home/xxx/.local/lib/python3.10/site-packages/prawcore/sessions.py", line 162, in _do_retry
    return self._request_with_retries(
  File "/home/xxx/.local/lib/python3.10/site-packages/prawcore/sessions.py", line 254, in _request_with_retries
    return self._do_retry(
  File "/home/xxx/.local/lib/python3.10/site-packages/prawcore/sessions.py", line 162, in _do_retry
    return self._request_with_retries(
  File "/home/xxx/.local/lib/python3.10/site-packages/prawcore/sessions.py", line 267, in _request_with_retries
    raise self.STATUS_EXCEPTIONS[response.status_code](response)
prawcore.exceptions.ServerError: received 500 HTTP response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant