Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PubSub SDK calls experimental API, fails #1150

Closed
teddziuba opened this issue Aug 10, 2016 · 2 comments
Closed

PubSub SDK calls experimental API, fails #1150

teddziuba opened this issue Aug 10, 2016 · 2 comments
Assignees

Comments

@teddziuba
Copy link

I recently started getting this error in production:

PERMISSION_DENIED: Google Cloud Pub/Sub API (Experimental) has not been used in project <my-project> before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/pubsub-experimental.googleapis.com/overview?project= <my-project> then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.

Visiting that URL is not helpful. It seems that Google has turned off "experimental" endpoints, however, I do not explictly call experimental endpoints in my code.

However, this file: https://github.com/GoogleCloudPlatform/gcloud-java/blob/v0.2.6/gcloud-java-pubsub/src/main/java/com/google/cloud/pubsub/spi/v1/SubscriberSettings.java#L106

Sets "pubsub-experimental.googleapis.com" as the default RPC endpoint for PubSub subscription calls. I'm specifically referencing the 0.2.6 release, as this is the most recent version in Maven Central, but this setting is also present in master as of now.

@garrettjonesgoogle
Copy link
Member

PR in progress for this: #1149

@mziccard
Copy link
Contributor

@teddziuba thanks for the report. gcloud-java 0.2.7 is now out and fixes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants