Google Cloud Pub/Sub - INVALID ARGUMENT error in P

2019-06-15 01:40发布

I created a topic & then tried to create a Subscription with "Push" delivery type. When I use the domain https://www.omnea.com/push/google-handler (the link doesn't exist), it works. However, when I use the url https://apidev2.omnea.org/push/google-handler, it throws INVALID_ARGUMENT error.

Both have the same certificate authority. The only difference I see here is the domain & sub-domain.

Is there any other reason due to which I receive this error?

1条回答
smile是对你的礼貌
2楼-- · 2019-06-15 02:19

Got some hard time too figuring out what's happening.

You need to add your sub domain as verified domain in the API console: https://console.cloud.google.com/apis/credentials/domainverification

查看更多
登录 后发表回答