Handle ValueError if no documentInfo is returned