TopicAdminClient UnauthenticatedException When Settings Endpoints #1480
Labels
api: pubsub
Issues related to the googleapis/java-pubsub API.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
From GoogleCloudPlatform/pubsub#333:
Hi,
I've found an issue when settings TopicAdminClient with endpoint.
Current behavior:
Expected behavior:
To be able to use both authentication ways and set any endpoint without encountering any error.
Example:
the code above produce the following exception:
com.google.api.gax.rpc.UnauthenticatedException: io.grpc.StatusRuntimeException: UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.'
The text was updated successfully, but these errors were encountered: