Advertisement
basedcount_bot

RedditAPIException: DELETED_COMMENT: 'that comment has been deleted' on field 'parent'

Nov 11th, 2024
96
0
3 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.47 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "/home/gmktec/Programming/Bots/basedcount_bot/basedcount_bot.py", line 46, in wrapper
  3.     await func(reddit_instance, mongo_client)
  4.   File "/home/gmktec/Programming/Bots/basedcount_bot/basedcount_bot.py", line 294, in read_comments
  5.     await comment.reply(reply_message)
  6.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/models/reddit/mixins/replyable.py", line 44, in reply
  7.     comments = await self._reddit.post(API_PATH["comment"], data=data)
  8.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/util/deprecate_args.py", line 51, in wrapped
  9.     return await _wrapper(*args, **kwargs)
  10.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/reddit.py", line 936, in post
  11.     raise last_exception
  12.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/reddit.py", line 920, in post
  13.     return await self._objectify_request(
  14.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/reddit.py", line 566, in _objectify_request
  15.     return self._objector.objectify(
  16.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/objector.py", line 239, in objectify
  17.     raise RedditAPIException(errors)
  18. asyncpraw.exceptions.RedditAPIException: DELETED_COMMENT: 'that comment has been deleted' on field 'parent'
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement