'News' tab within projects endlessly loading in app

Platform: Android

App version number: 1.26.3

Description of problem:
In any project I tried (that contained journal posts), the app displays an endlessly loading, empty page when attempting to read the project’s news.
The ‘About’ tab displays normally.

Example project:

News:

About:

i can replicate, and i think these are the relevant messages from the app logs:

INaturalistService.onCreate():613: INaturalistService: Service onCreate
INaturalistService.onStartCommand():619: INaturalistService: Service onStartCommand
INaturalistService.onStartCommand():630: INaturalistService: Should call startIntentForeground? false:get_project_news
INaturalistService.startIntentForeground():653: INaturalistService: Service startIntentForeground
INaturalistService.onHandleIntentWorker():703: INaturalistService: Service: get_project_news
INaturalistService.request():6122: INaturalistService: URL: get - https://api.inaturalist.org/v1/posts?project_id=71923 (params: null / null)
INaturalistService.onDestroy():7152: INaturalistService: onDestroy
INaturalistService.request():6218: INaturalistService: Response: 404: Not Found
INaturalistService.request():6222: INaturalistService: (for URL: GET - https://api.inaturalist.org/v1/posts?project_id=71923 (params: null / null))
INaturalistService.request():6234: INaturalistService: {"error":{"original":{"error":"Not found"}},"status":404}

i get the same error message if i hit the API directly, whether authenticated or not: https://api.inaturalist.org/v1/posts?project_id=71923

{
  "error": {
    "original": {
      "error": "Not found"
    }
  },
  "status": 404
}

this kind of reminds me of another recent bug report: https://forum.inaturalist.org/t/my-dashboard-is-completely-lacking-posts-from-any-projects/28665.

2 Likes

@tiwane Wanted to come back to this, as I would like to see the functionality of projects in the app improved. Any chance this can be dealt with in Github, as @pisum already provided some insights?

1 Like

for what it’s worth, it looks like it’s possible to get project journal posts in a JSON format using the old parts of the system: https://www.inaturalist.org/projects/71923/journal.json. so it looks like the v1 API just isn’t returning the posts for some reason. but then, also, maybe the app should show some kind of error message rather than just continuing to show the spinning indicator.

1 Like

Just to add, journal posts are displayed without problems in the News tab under ‘activities’.

The same post doesn’t load within the project environment.

1 Like

Made a github issue here: https://github.com/inaturalist/iNaturalistAndroid/issues/1197

1 Like

It appears to be fixed - could read journal posts today by accessing a project via ‘nearby’

2 Likes