Changed from error to warning because API functions need it