Description
The search criteria parameter is incorrect.
Solution
While specifying the search criteria parameter at the command line or in scripts, ensure that the snap type option is specified as a combination of the keywords NONE, SHAPE, MIDDLE, and END separated with an underscore. For example, an edge source, streets and snap type option of middle and end must be "Streets MIDDLE_END".