Pubsub exception refers to faulty URL
See original GitHub issueWhen 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:
- Created 5 years ago
- Comments:5
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@andreamlin That is a much more useful page to point to, thank you!
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.