cleverdevil / together

The together project: an IndieWeb experience
MIT License
42 stars 5 forks source link

Error loading channels #95

Open davidmead opened 5 years ago

davidmead commented 5 years ago

After logging in I can no longer see any channels I have set up in Aperture. Sidebar just has the message "error loading channels".

Screen Shot 2019-07-07 at 1 29 32 PM

Tried this in both Firefox and Chrome on a Mac - Same issue. Looking at the network responses for https://alltogethernow.io/ I can see a 400 for Variable "$channel" of required type "String!" was not provided.

Screen Shot 2019-07-07 at 1 25 25 PM

{"errors":[{"message":"Variable \"$channel\" of required type \"String!\" was not provided.","locations":[{"line":1,"column":21}],"extensions":{"code":"INTERNAL_SERVER_ERROR"}}]}

I tried revoking the token in my Known site but it still has this error. Using Indigenous on Android and Monocle on web and both work fine.

davidmead commented 5 years ago

Param information after clearing browser cache and logging back in.

Screen Shot 2019-07-07 at 2 02 17 PM

{"operationName":"TimelineQuery","variables":{},"extensions":{},"query":"query TimelineQuery($channel: String!, $after: String, $before: String, $limit: Int) {\n timeline(channel: $channel, after: $after, before: $before, limit: $limit) {\n channel\n after\n before\n items {\n ...PostFragment\n refs {\n ...PostFragment\n __typename\n }\n __typename\n }\n __typename\n }\n}\n\nfragment PostFragment on Post {\n ...PostProperties\n refs {\n ...PostProperties\n refs {\n ...PostProperties\n __typename\n }\n __typename\n }\n __typename\n}\n\nfragment PostProperties on Post {\n _id\n _is_read\n type\n url\n published\n postType\n name\n category\n postStatus\n visibility\n likeOf\n repostOf\n quotationOf\n bookmarkOf\n photo\n video\n audio\n checkin {\n type\n name\n latitude\n longitude\n url\n __typename\n }\n location {\n type\n name\n latitude\n longitude\n url\n __typename\n }\n content {\n text\n html\n __typename\n }\n author {\n ...AuthorFragment\n __typename\n }\n __typename\n}\n\nfragment AuthorFragment on PostAuthor {\n name\n url\n photo\n __typename\n}\n"}