Google Cloud Pub/Sub - INVALID ARGUMENT error in Push subscription

こ雲淡風輕ζ 提交于 2019-12-12 10:29:18

问题


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:


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



来源:https://stackoverflow.com/questions/43477266/google-cloud-pub-sub-invalid-argument-error-in-push-subscription

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!