Loading

PrivateLink Validation Fails with "InvalidServiceName" or "doesn't match configuration" for AWS VPC Endpoint Service

Fecha de publicación: Oct 30, 2026
Descripción

When attempting to configure PrivateLink between Anypoint Private Space and an AWS VPC Endpoint Service (e.g., for a third-party service like Snowflake), you may observe a validation error. This often manifests as a `400` error with the message "doesn't match configuration" in the Anypoint Platform UI.

When attempting to verify the AWS VPC Endpoint Service using the AWS CLI, you might receive an `InvalidServiceName` error, indicating the service does not exist:

 

```
aws ec2 describe-vpc-endpoint-services --service-names com.amazonaws.vpce.<region>.vpce-svc-<service-id> --region <region>
An error occurred (InvalidServiceName) when calling the DescribeVpcEndpointServices operation: The Vpc Endpoint Service 'com.amazonaws.vpce.<region>.vpce-svc-<service-id>' does not exist
```

Solución

CAUSE


This issue occurs when the AWS account ID provided or used for authorizing access to the VPC Endpoint Service does not match the actual owner account ID of that service. Even if the service name and region are correct, the `describe-vpc-endpoint-services` command (and by extension, the PrivateLink configuration process) will fail to identify the service if the calling account is not authorized or if the owner ID specified during configuration is incorrect. The service exists, but it cannot be found or validated by the requesting entity due to an authorization mismatch related to the service owner.


SOLUTION


To resolve this validation error, ensure that the correct AWS account ID that owns the VPC Endpoint Service is identified and used during the PrivateLink configuration.

1.  **Verify the VPC Endpoint Service Name and Region:**
    Confirm that you have the exact service name (e.g., `com.amazonaws.vpce.<region>.vpce-svc-<service-id>`) and the correct AWS region where the service is deployed. Obtain this information from the provider of the VPC Endpoint Service (e.g., your third-party SaaS provider).

2.  **Identify the Correct Owner AWS Account ID:**
    Execute the `describe-vpc-endpoint-services` command using an AWS account that has permissions to view VPC Endpoint Services in the specified region. This command will reveal the actual owner account ID of the service.
    ```bash
    aws ec2 describe-vpc-endpoint-services --service-names "com.amazonaws.vpce.<region>.vpce-svc-<service-id>" --region <region>
    ```
    Look for the `"Owner"` field in the output. For example:
    ```json
    {
        "ServiceDetails": [
            {
                "ServiceName": "com.amazonaws.vpce.<region>.vpce-svc-<service-id>",
                "ServiceId": "vpce-svc-<service-id>",
                "ServiceType": [
                    {
                        "ServiceType": "Interface"
                    }
                ],
                "AvailabilityZones": [
                    "us-east-1a",
                    "us-east-1b",
                    "us-east-1c"
                ],
                "Owner": "correct-owner-account-id",
                "BaseEndpointDnsNames": [
                    "vpce-svc-<service-id>.us-east-1.vpce.amazonaws.com"
                ],
                "VpcEndpointPolicySupported": false
            }
        ]
    }
    ```
    The value of `"Owner"` (e.g., `correct-owner-account-id`) is the AWS account ID that owns the VPC Endpoint Service.

3.  **Update PrivateLink Configuration with the Correct Owner ID:**
    When configuring PrivateLink in Anypoint Private Space, ensure that you provide this `correct-owner-account-id` as the AWS account ID associated with the VPC Endpoint Service. If you are working with a third-party service provider, communicate this correct owner ID to them to ensure their authorization settings are accurate.

APPLIES TO

*   Anypoint Private Space
*   AWS PrivateLink configurations
*   Connections to AWS VPC Endpoint Services (e.g., for Snowflake, other SaaS providers)

Número del artículo de conocimiento

005386354

 
Cargando
Salesforce Help | Article