Labour has promised that lessons will be learned to prevent further issues in future