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

  • idunnololz@lemmy.worldM
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    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.

    • idunnololz@lemmy.worldM
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

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