Enrollment Works but Course Content Not Loading in Learn Section (edX Android App)

Hi everyone,

I’m working on integrating the edX Android app with a local Open edX backend and wanted to share an issue I’ve been debugging.


Initial Issue

  • Courses were visible in the app after enabling “Mobile Course Available”

  • Clicking the Enroll button appeared unresponsive

  • Enrolled courses were not showing in the Learn section


Progress / What I Fixed

After debugging with Logcat in Android Studio, I found:

  • Enrollment API calls were actually succeeding (POST /api/enrollment/v1/enrollment → 200)

  • The issue was due to response deserialization on the Android side

After fixing that:

  • :white_check_mark: Users can successfully enroll

  • :white_check_mark: Enrolled courses are now visible in the Learn section


Current Issue

When selecting a course from the Learn section:

  • :cross_mark: Course details do not load

  • :cross_mark: Screen remains blank / stuck

  • :cross_mark: No visible UI error


Observations

  • Enrollment API is working correctly

  • Course enrollment list API is returning expected data

  • Issue occurs when loading course content after selection


Suspected Cause

  • Possible issue with Course Blocks API (/api/courses/v2/blocks/...)

  • Response structure mismatch with Android app expectations

  • Missing required fields in course content response

  • Version mismatch between Open edX backend and Android app


Environment

  • Backend: Open edX (local setup)

  • Android app run via Android Studio

  • API base URL configured using nip.io domain


Questions

  • Which API is responsible for loading course content in the Android app after enrollment?

  • Are there required configurations for the Course Blocks API?

  • Has anyone faced a similar issue where courses appear in Learn but fail to open?

Any guidance would be greatly appreciated!

Thanks in advance.

@Ujjwal_Roy welcome to the forums! Could you specify which version of the platform, and the app, you are running?

Thanks for your response!

Here are the details of my setup:

- Open edX Platform: Tutor v17 (Quince release)

- Android App: Open edX Android app (running via Android Studio, latest code from GitHub)

Currently, enrollment is working and courses are visible in the Learn section, but course content does not load when a course is selected (blank screen), with deserialization warnings appearing in Logcat.

Please let me know if you need any additional details or logs.

Thanks!

Tutor v17 (Quince (Dec 2023)) is no longer supported. Could I ask why you’re not using the latest release, Ulmo? We only support releases for 6 months - including critical security patches. I doubt the latest version of the mobile app software will work with Quince.