added ducktype check for error seen in nightly run