# Pub/Sub trigger creation fails with VPC Service Controls in Google Application Integration: cause and fix

Source page: https://ipaaserrors.com/google-application-integration/pubsub-trigger-blocked-by-vpc-service-controls
Platform: Google Application Integration · Cloud Pub/Sub trigger
Checked against vendor docs: 2026-11-16

Creating or publishing a Cloud Pub/Sub trigger fails when the Pub/Sub API is inside a VPC Service Controls perimeter, because the perimeter blocks the communication needed to create the subscription. Temporarily remove the Pub/Sub API from the perimeter, publish, then add it back.

## Error text

```
Creation of the required Pub/Sub subscription fails when the integration is published.
```

## Likely causes

- The Pub/Sub API is protected by a VPC Service Controls service perimeter.
- The perimeter blocks the communication between services that is required during trigger setup, so Application Integration cannot create the Pub/Sub subscription when the integration is published.

## How to fix it

1. In the service perimeter, temporarily remove the Pub/Sub API (pubsub.googleapis.com).
2. Add and configure the Cloud Pub/Sub trigger in the integration.
3. Publish the integration.
4. Add the Pub/Sub API back to the service perimeter.

## Notes

Google lists this as an open known issue. The documentation describes the failure but does not quote a literal error message.

## Sources

- [Application Integration known issues](https://docs.cloud.google.com/application-integration/docs/known-issue)
- [Cloud Pub/Sub trigger](https://docs.cloud.google.com/application-integration/docs/configure-pubsub-trigger)

From iPaaS Errors (https://ipaaserrors.com), part of iPaaS Group. When citing, link to https://ipaaserrors.com/google-application-integration/pubsub-trigger-blocked-by-vpc-service-controls and the vendor documentation above.
