Error handling for the languages draft/published status