Error "Error: overlay for Gateway:customgateway does not match any object in output manifest. Available objects are:"

Trying to generate manifest using following gateway config yaml (relevant portion shown)

        components: 
            ingressGateways: 
            - name: istio-ingressgateway
              enabled: false
            - name: customgateway
              namespace: NAMESPACE_NAME
              enabled: true
              label: 
                app: custom-ingress-gateway
                chart: gateways
                namespace: NAMESPACE_NAME
                release: release-name
              k8s:
                resources:
                  requests:
                    cpu: 100m
                    memory: 128Mi
                  limits: 
                    cpu: 400m
                    memory: 1Gi
                replicaCount: 2
                overlays:
                - apiVersion: networking.istio.io/v1alpha3
                  kind: Gateway
                  name: iicsgateway
                  patches:
                  - path: spec.servers[0].port
                    value:
                      name: https
                      number: 10002
        ...

istioctl manifest generate -f file command produces this error.

Error: overlay for Gateway:customgateway does not match any object in output manifest. Available objects are:
HorizontalPodAutoscaler:NAMESPACE_NAME:customgateway
Deployment:NAMESPACE_NAME:customgateway
PodDisruptionBudget:NAMESPACE_NAME:customgateway
Role:NAMESPACE_NAME:customgateway-sds
RoleBinding:NAMESPACE_NAME:customgateway-sds
Service:NAMESPACE_NAME:customgateway
ServiceAccount:NAMESPACE_NAME:customgateway-service-account

istio version is 1.6.14. Same profile worked in 1.5.8.
For 1.6.14, we had to remove global section and move it under values section.

Any pointers about debugging the issue?

Thanks,
Sameer