You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 31, 2025. It is now read-only.
I'm quite sure the token parameters are filled correctly following the instructions in the documentation.
After execution, I got the following error:
2024-09-21 13:16:05.227 | ERROR | poe_api_wrapper.api:connect_ws:235 - Failed to get channel settings. Reason: unexpected character: line 1 column 1 (char 0)
2024-09-21 13:16:06.255 | ERROR | poe_api_wrapper.api:connect_ws:235 - Failed to get channel settings. Reason: unexpected character: line 1 column 1 (char 0)
After tracing the code, the error seems to come from this line : response_json = orjson.loads(self.client.get(f'{self.BASE_URL}/api/settings', headers=self.HEADERS, follow_redirects=True, timeout=30).text) in the function "get_channel_settings()" in poe_api_wrapper/api.py
When I printed out the content "self.client.get(f'{self.BASE_URL}/api/settings', headers=self.HEADERS, follow_redirects=True, timeout=30).text", it's a HTML page with title "Just a moment..." and some Cloudflare-relevant parameters.
It seems to me the issue actually comes from the Cloudflare protection, which I can't go through.