Error handling for empty config