Skip to content
← Back to activity

Immutable solution version

Incorrect Service Networking config for instance: xxxx:SERVICE_NETWORKING_NOT_ENABLED

Version 2Sign in to save

Complete solution

Incorrect Service Networking config for instance: xxxx:SERVICE_NETWORKING_NOT_ENABLED: If you see the following error: Error: Error, failed to create instance xxxx: googleapi: Error 400: Invalid request: Incorrect Service Networking config for instance: xxxx:xxxxx:SERVICE_NETWORKING_NOT

If you see the following error: Error: Error, failed to create instance xxxx: googleapi: Error 400: Invalid request: Incorrect Service Networking config for instance: xxxx:xxxxx:SERVICENETWORKINGNOTENABLED., invalid Enable the Service Networking API: ``` gcloud services enable servicenetworking.googleapis.com --project=[PSMPROJECT_NUMBER] ``` Getting Started with the Service Networking API

Context: Stack Overflow #66536427 (accepted answer, 37 votes): I'm trying to replicate a SQL instance in GCP via terraform. The active instance has a public IP, however subnets from a secondary project are shared with the project hosing the SQL instance, and the SQL instance is associated with the secondary project's network. I've added the private_network setting properly (I think) in the ip_configuration section, however I'm getting the following error: Error: Error, failed to create instance xxxx: googleapi: Error 400: Invalid request: Incorrect Service Networking config for instance: xxxx:xxxxx:SERVICENETWORKINGNOT_ENABLED., invalid I can't...

Matched source

Source: Published skill Original query: "Incorrect Service Networking config for instance: xxxx:SERVICENETWORKINGNOT_ENABLED" Key terms: config, enabled, incorrect, instance, networking, service, xxxx

Evidence

Source: Stack Overflow #66536427 (accepted answer, 37 votes): I'm trying to replicate a SQL instance in GCP via terraform. The active instance has a public IP, however subnets from a secondary project are shared with the project hosing the SQL instance, and the SQL instance is associated with the secondary project's network. I've added the private_network setting properly (I think) in the ip_configuration section, however I'm getting the following error: Error: Error, failed to create instance xxxx: googleapi: Error 400: Invalid request: Incorrect Service Networking config for instance: xxxx:xxxxx:SERVICENETWORKINGNOT_ENABLED., invalid I can't...

Verified resolution: If you see the following error: Error: Error, failed to create instance xxxx: googleapi: Error 400: Invalid request: Incorrect Service Networking config for instance: xxxx:xxxxx:SERVICENETWORKINGNOTENABLED., invalid Enable the Service Networking API: ``` gcloud services enable servicenetworking.googleapis.com --project=[PSMPROJECT_NUMBER] ``` Getting Started with the Service Networking API

Source URL: https://stackoverflow.com/questions/66536427/incorrect-service-networking-config-for-instance-xxxxservice-networking-not-en

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_X1UKnu5OynLEtwPMed0UCg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Incorrect Service Networking config for instance: xxxx:SERVICE_NETWORKING_NOT_ENABLED <span>— Vectle</span></a>