Creating API Gateway for Asia-East1 failing

99 views
Skip to first unread message

Kenth Fagerlund

unread,
Sep 17, 2020, 11:51:30 PM9/17/20
to api-gateway-users
Hi,
I'm struggling to create a gateway for Asia-east1, however, US works fine. Asia-east1 was in the supported list but seems to get some odd behaviour when creating from CLI. Tried from UI too but there it fails without error message. 

The error message is saying its trying to create an GAE instance in east2 which is bit odd. I tried to create the GW in east2 too, but that failed as it was not supported, as expected.

Any ideas what I could try next?

Command:
gcloud beta api-gateway gateways create order-gw \
  --api=divit-orders --api-config=order-api \
  --location=asia-east1 --project=divit-dev-1


Error Message:
ERROR: (gcloud.beta.api-gateway.gateways.create) Create App Engine Application: 'asia-east2' violates constraint ‘constraints/gcp.resourceLocations’ on the resource 'apps/r36dbfd50d45d9c5f-tp'.
com.google.net.rpc3.RpcException: generic::FAILED_PRECONDITION: 'asia-east2' violates constraint ‘constraints/gcp.resourceLocations’ on the resource 'apps/r36dbfd50d45d9c5f-tp'

Chris Latimer

unread,
Sep 19, 2020, 2:00:28 PM9/19/20
to Kenth Fagerlund, api-gateway-users
Hi Kenth,

The engineering team looked into this and identified the problem. It should be fixed now. Please let us know if you still encounter this problem.

Thanks,

Chris

--


You received this message because you are subscribed to the Google Groups "api-gateway-users" group.


To unsubscribe from this group and stop receiving emails from it, send an email to api-gateway-us...@googlegroups.com.


To view this discussion on the web visit https://groups.google.com/d/msgid/api-gateway-users/bea4f1a3-94d2-43ea-ab90-b5610cada563n%40googlegroups.com.


--

Chris Latimer | Product Manager, API Management | clat...@google.com | 1-614-596-8090

Kenth Fagerlund

unread,
Sep 22, 2020, 9:09:48 PM9/22/20
to api-gateway-users
Thanks Chris,

That did the trick. Working fine now.

Reply all
Reply to author
Forward
0 new messages