Skip to content

Pubsub exception refers to faulty URL #3333

@DylanMeeus

Description

@DylanMeeus

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.

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.priority: p2Moderately-important priority. Fix may not be included in next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions