the layerId of the feature layer was not being passed.