002865: A feature layer should not be specified when using the all layers option.

Description

This error occurs when converting labels to annotation or graphics for all layers in a map, but a layer is specified in the single_layer parameter.

Solution

Do not specify a layer if you are converting labels to annotation or graphics for all layers.