Error handling for legacy check