Hello. the content below looks error.  note_id = discussion.attributes['note'][-1]['id'] shoud be note_id = discussion.attributes['notes'][-1]['id'] ------ In page: gl_objects/discussions.rst