ou will need to fix this issue of attachments, the backend api function is wrongly implemented. fetching course attachements is a simple relation between courses and course_attachments table. let me know if you need me to jump on call to explain it . This should be a quick fix.