this post was submitted on 10 Jul 2023
-1 points (40.0% liked)

Summit

733 readers
3 users here now

Community to discuss Summit, a Lemmy reader for Android.

App (Play Store): https://play.google.com/store/apps/details?id=com.idunnololz.summit

APK: https://github.com/idunnololz/summit-for-lemmy/releases

Patreon: https://patreon.com/SummitforLemmy

Ko-Fi: https://ko-fi.com/summitforlemmy

Website: https://summit.idunnololz.com/

founded 1 year ago
MODERATORS
 

I have an error. I cant send a post. The community cannot be found even though I am on the community page. And I am getting this error.

Unable to sent post due to com.idunnololz .summit.api.ClientApiException. Message: Client error. Code: 404. Message: couldnt_find_community

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago (1 children)

Do you mind sharing which community it was? I will also play around with posts to see if i can reproduce it

[–] [email protected] 2 points 1 year ago

Nevermind I am able to reproduce the problem. Looking into it now.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

I'm done investigating the issue. The cause appear to be when you are on a community but you are not using an account that is associated with the instance the community is on. This is a problem with the app not being specific enough.

Here's an example. Let's say you have two accounts: accountA and accountB. accountA is on lemmy.world while accountB is on lemmy.ml.

Let's say accountA visits the summit community. accountA and summit are both on lemmy.world. There is no problem.

Now you switch to accountB. accountB is on lemmy.ml and summit is on lemmy.world. There is a problem because there is no summit on lemmy.ml. Instead you must specify the full name "[email protected]". So when you try to create a post on summit with accountB you will get an error that the community "summit" does not exist.

This is part of a bigger problem where the app is only sometimes using the full name of community and sometimes not. The complete solution is to have the app always refer to communities by their full name. Eg. using the previous example again, accountA and accountB can agree that "[email protected]" exists.

[–] [email protected] 1 points 1 year ago

I have a fix for the next update. I might just release the next update tonight just to fix some bugs.

load more comments
view more: next ›