snowby666 / poe-api-wrapper

👾 A Python API wrapper for Poe.com. With this, you will have free access to GPT-4, Claude, Llama, Gemini, Mistral and more! 🚀
https://pypi.org/project/poe-api-wrapper/
GNU General Public License v3.0
677 stars 81 forks source link

Cannot retrieve prev. msg #155

Open i8890321 opened 1 month ago

i8890321 commented 1 month ago

Here's the output in my cmd window

C:\Users\abc\Portable_Python-3.8.6_x64\App\Python>python poe_retrievemsg.py Traceback (most recent call last): File "poe_retrievemsg.py", line 31, in previous_messages = client.get_previous_messages('a2', chatId=123456789, count=2) File "C:\Users\abc\Portable_Python-3.8.6_x64\App\Python\lib\site-packages\poe_api_wrapper\api.py", line 1000, in get_previous_messages chatdata = response_json['data']['node'] TypeError: 'NoneType' object is not subscriptable