isxuelinme / poe_unoffical_api

the POE of Quora golang implement
Apache License 2.0
87 stars 17 forks source link

{\"success\":false,\"message\":\"Bad Request\"} #8

Open thuongtin opened 1 year ago

thuongtin commented 1 year ago

POE has been updated, you need to send a request with poe-tchannel, poe-tag-id, poe-formkey.

isxuelinme commented 1 year ago

sync official :) update coding and rerun tag1.2.9

isxuelinme commented 1 year ago

if you are not stared. dont ask anything fuck you:)

thuongtin commented 1 year ago

Damn it! Starred!

thuongtin commented 1 year ago

Do you want to join CS:GO and shoot each other, huh?

isxuelinme commented 1 year ago

Do you want to join CS:GO and shoot each other, huh?

Thank you for your stared, now we are friends, love between friends

thuongtin commented 1 year ago

[Error] 2023/04/15 11:55:05 statusCode is not 200 (int) 400 (string) "\r\n400 Bad Request\r\n\r\n

400 Bad Request

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"

---stacks--- github.com/isxuelinme/poe_unoffical_api/core.(PoeGPT).Talk(0x14000142200, {0x1400011af00?, 0x0?}, 0x1400011af00) /Users/t/GolandProjects/poe_unoffical_api/core/poe.go:157 +0x394 github.com/isxuelinme/poe_unoffical_api/core.(UserChat).Ask(0x1400011af60, 0x1400011aed0?) /Users/t/GolandProjects/poe_unoffical_api/core/gpt.go:80 +0xc8 github.com/isxuelinme/poe_unoffical_api/core.(*MultiUserGpt).Talk(0x14000118e70, 0x1400011af00) /Users/t/GolandProjects/poe_unoffical_api/core/gpt.go:69 +0x13c github.com/isxuelinme/poe_unoffical_api/client/cli.CLI() /Users/t/GolandProjects/poe_unoffical_api/client/cli/cli.go:30 +0x278 main.main() /Users/t/GolandProjects/poe_unoffical_api/poe_example/main.go:16 +0x6c

[Error] 2023/04/15 11:55:05 发生错误 (string) "statusCode is not 200"

---stacks--- github.com/isxuelinme/poe_unoffical_api/core.(UserChat).NewMessageNotify.func2({0x102524580, 0x3}, {0x102528039, 0x10}, 0x1400012c480) /Users/t/GolandProjects/poe_unoffical_api/core/gpt.go:156 +0x8a0 github.com/isxuelinme/poe_unoffical_api/internal/messageQueue.(MemoryMessageQueue).callConsumer(0x14000142180, {0x102524580, 0x3}, {0x102528039, 0x10}, 0x1400005e200, 0x1400012c480, 0x0?) /Users/t/GolandProjects/poe_unoffical_api/internal/messageQueue/mem_mq.go:80 +0x88 created by github.com/isxuelinme/poe_unoffical_api/internal/messageQueue.(*MemoryMessageQueue).workByCall /Users/t/GolandProjects/poe_unoffical_api/internal/messageQueue/mem_mq.go:140 +0x1bc

isxuelinme commented 1 year ago

wait me go back working room , I will check carefully

isxuelinme commented 1 year ago

u can firstly check you go.mod if 1.2.9

thuongtin commented 1 year ago

I cloned your project and ran the example, instead of creating a new project.

On Sat, 15 Apr 2023 at 12:14 Crim @.***> wrote:

u can firstly check you go.mod if 1.2.9

— Reply to this email directly, view it on GitHub https://github.com/isxuelinme/poe_unoffical_api/issues/8#issuecomment-1509514630, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2M336ADNB5HPAK6WPKBLTXBIVCPANCNFSM6AAAAAAW7CMGZU . You are receiving this because you authored the thread.Message ID: @.***>

isxuelinme commented 1 year ago

I found some json char mistake that from merging code , when I fixed it , I will reply the issue