question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pubsub exception refers to faulty URL

See original GitHub issue

When I try to use ApiFutures.allAsList(messageIDFutures).get() it raises an exception when the resource name is wrong:

java.util.concurrent.ExecutionException: com.google.api.gax.rpc.InvalidArgumentException: io.grpc.StatusRuntimeException: INVALID_ARGUMENT: Invalid resource name given (name=testresource). Refer to https://cloud.google.com/pubsub/overview#names for more information.

However, the URL: https://cloud.google.com/pubsub/overview#names is of no help, as it just points to: https://cloud.google.com/pubsub/docs/overview#names which has no “Overview#names” and thus is of little help in resolving this issue.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
DylanMeeuscommented, Jun 5, 2018

@andreamlin That is a much more useful page to point to, thank you!

0reactions
andreamlincommented, Jun 5, 2018

The error message will now point to https://cloud.google.com/pubsub/docs/admin#resource_names. The fix has been submitted internally. I do not know when PubSub releases to production, but I think at the latest it will release in a week. Closing this issue for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Codes | Cloud Pub/Sub Documentation
Error HTTP Code Description UNAUTHENTICATED 401 The client is not authenticated properly. UNAVAILABLE 503 The service was unable to process a request.
Read more >
Google Cloud Function pulling from Pub/Sub subscription ...
This exception is raised by the client when there's no messages to read in the subscription. It is a known issue from the...
Read more >
Unable to access Google Cloud Pub/Sub component using ...
where publishMessage is defined as below private static ApiFuture<String> publishMessage(Publisher publisher, ByteString message) throws Exception ...
Read more >
Guide To Google PubSub: Examples & Comparison
With Google Pub/Sub, fault tolerance and failure recovery is managed by ... only applies to messages that have at least one subscription.
Read more >
Google Cloud Pub/Sub | Cortex XSOAR
A URL locating the endpoint to which messages should be pushed. c, Unknown, If not empty, indicates that there may be more snapshot...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found