Assembly of a robust, thermally stable porous cobalt(II) nicotinate framework based on a dicobalt carboxylate unit.