If a service has static layer IDs enabled and the static layer IDs are missing a value in the sequence, configuring pop-ups in a Portal for ArcGIS 10.3.1 web map for any layer fails after attempting to configure the pop-ups for the last layer in the sequence.