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

Stack Overflow | vad babushkin | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    gloud-java. PERMISSION_DENIED: Google Cloud Pub/Sub API (Experimental)

    Stack Overflow | 9 months ago | vad babushkin
    com.google.cloud.pubsub.PubSubException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Google Cloud Pub/Sub API (Experimental) has not been used in project google.com:cloudsdktool before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/pubsub-experimental.googleapis.com/overview?project=google.com:cloudsdktool then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
  2. 0

    Question on Android Requirements

    GitHub | 12 months ago | emojahedi
    io.grpc.StatusRuntimeException: UNAVAILABLE: No provided cause
  3. 0

    Android Requirements

    Google Groups | 12 months ago | Unknown author
    io.grpc.StatusRuntimeException: UNAVAILABLE: No provided cause
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using google cloud trace API

    Stack Overflow | 1 year ago | Ankur Chauhan
    java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: UNIMPLEMENTED: GRPC target method is not implemented.
  6. 0

    (java) Correct use of onError on the server

    Google Groups | 2 years ago | Lorenzo
    io.grpc.StatusRuntimeException: UNKNOWN

  1. SteVio1989 19 times, last 1 month ago
  2. Hronom 22 times, last 4 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. io.grpc.StatusRuntimeException

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

    at io.grpc.Status.asRuntimeException()
  2. io.grpc
    Status.asRuntimeException
    1. io.grpc.Status.asRuntimeException(Status.java:503)
    1 frame
  3. io.grpc.stub
    ClientCalls$UnaryStreamToFuture.onClose
    1. io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:307)
    1 frame
  4. io.grpc.internal
    SerializingExecutor$TaskRunner.run
    1. io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$3.runInContext(ClientCallImpl.java:462)
    2. io.grpc.internal.ContextRunnable.run(ContextRunnable.java:54)
    3. io.grpc.internal.SerializingExecutor$TaskRunner.run(SerializingExecutor.java:154)
    3 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    7. java.lang.Thread.run(Thread.java:745)
    7 frames