AHGGG / poe-node-api

A reverse engineered Node.js client for Quora's Poe.
MIT License
38 stars 5 forks source link

fetch failed: https://poe.com/_next/data/t55y8LR_LPR9oghrT_Zdj/undefined.json, 404, Not Found #5

Closed nxkiss closed 1 year ago

nxkiss commented 1 year ago

Error: Failed to fetch https://poe.com/_next/data/t55y8LR_LPR9oghrT_Zdj/undefined.json after 5 retries at file:///C:/Users/rowan/Documents/bypassed/node_modules/poe-node-api/dist/PoeClient.js:93:24 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.15.0

AHGGG commented 1 year ago

Did you add a custom bot? Maybe I know why. I'll fix it.

AHGGG commented 1 year ago

Error: Failed to fetch https://poe.com/_next/data/t55y8LR_LPR9oghrT_Zdj/undefined.json after 5 retries at file:///C:/Users/rowan/Documents/bypassed/node_modules/poe-node-api/dist/PoeClient.js:93:24 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.15.0

Try dev branch, I changed the logic of getBot :). And support sendMsg to custom bot. Clone this repo. Checkout to dev branch. And refer to the example/example.ts file. Follow the temporary usage instructions.