Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to parse thread information" when joining some group chats #165

Open
dset0x opened this issue Jan 5, 2018 · 4 comments
Open

"Failed to parse thread information" when joining some group chats #165

dset0x opened this issue Jan 5, 2018 · 4 comments

Comments

@dset0x
Copy link

dset0x commented Jan 5, 2018

Hello and thank you for your work on this plugin. I get "Failed to parse thread information" when joining some group chats.
This is bitlbee-facebook master and bitlbee-3.5.1+20171123+HEAD+30-g4a9c6b0b-git.

[INFO] facebook: POST Request (0x5620b58a4c60): https://graph.facebook.com/graphql
[INFO] facebook:   User-Agent: Facebook plugin / BitlBee / 1.1.2 [FBAN/Orca-Android;FBAV/38.0.0.22.155;FBBV/14477681]
[INFO] facebook:   Content-Type: application/x-www-form-urlencoded
[INFO] facebook:   Connection: Close
[INFO] facebook:   Accept: */*
[INFO] facebook:   Content-Length: 325
[INFO] facebook:   Host: graph.facebook.com
[INFO] facebook:   Authorization: OAuth <REDACTED>
[INFO] facebook:
[INFO] facebook:   fb_api_req_friendly_name=ThreadQuery&locale=en_US&query_params=%7B%220%22%3A%5B%221%22%5D%2C%2210%22%3A%22false%22%2C%2211%22%3A%22false%22%2C%2213%22%3A%22false%22%7D&format=json&device_id=<REDACTED>&sig=<REDACTED>&api_key=<REDACTED>&method=get&query_id=1<REDACTED>
[INFO] facebook: POST Response (0x5620b58a4c60): https://graph.facebook.com/graphql (200 OK)
[INFO] facebook:   HTTP/1.1 200 OK
[INFO] facebook:   ETag: "<REDACTED>"
[INFO] facebook:   fb-graphql-error-count: 0
[INFO] facebook:   Access-Control-Expose-Headers: X-FB-Debug, X-Loader-Length
[INFO] facebook:   Access-Control-Allow-Methods: OPTIONS
[INFO] facebook:   Access-Control-Allow-Credentials: true
[INFO] facebook:   Strict-Transport-Security: max-age=15552000; preload
[INFO] facebook:   x-fb-trace-id: <REDACTED>
[INFO] facebook:   x-fb-rev: <REDACTED>
[INFO] facebook:   Expires: Sat, 01 Jan 2000 00:00:00 GMT
[INFO] facebook:   Content-Type: application/json; charset=UTF-8
[INFO] facebook:   facebook-api-version: v1.0
[INFO] facebook:   Cache-Control: private, no-cache, no-store, must-revalidate
[INFO] facebook:   Pragma: no-cache
[INFO] facebook:   Vary: Origin
[INFO] facebook:   Access-Control-Allow-Origin: https://graph.facebook.com
[INFO] facebook:   X-FB-Debug: <REDACTED>
[INFO] facebook:   Date: Fri, 05 Jan 2018 13:31:47 GMT
[INFO] facebook:   Connection: close
[INFO] facebook:   Content-Length: 10
[INFO] facebook:
[INFO] facebook:   {"1":null}
[INFO] facebook: Parsing JSON: {"1":null}
[ERROR] facebook: Failed to parse thread information
[INFO] facebook: Writing 14 (flags: 0x0)
[INFO] facebook:   00000000  e0 00                                             |..|
[INFO] facebook:   00000010

query_params decoded: {"0":["1"],"10":"false","11":"false","13":"false"}

@Noah-Huppert
Copy link

I have also encountered this error. However I get it when I attempt to join a person to person conversation, not a group.

@dequis
Copy link
Member

dequis commented May 9, 2018

@Noah-Huppert one-to-one conversations don't go through this, you should just /query that person. You're probably getting this error because you're feeding it an invalid parameter

@Noah-Huppert
Copy link

Noah-Huppert commented May 9, 2018 via email

@mikroskeem
Copy link

Can confirm, this error happens to me as well with joining groupchats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants