Unable to Get API Resource information from API Hub using Java Client Library #11172
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: question
Request for information or clarification. Not an issue.
I'm using the following libraries to configure the Apihub Java Client to the Gradle project.
However, I'm getting a permission error that is blocking me from invoking any of the ApiHubClient methods.
I'm using an access token retrieved from Google Cloud SDK using the command (gcloud auth print-access-token) which has all the necessary permissions to access the APIHub resources. Also, the API Hub Rest APIs are working without issues using the same access token.
Environment details
Java version: 17
Steps to reproduce
(Replace "access-token-here" and put valid values for API name details(project,location,api-id) in the code snippet.)
Code example
Stack trace
External references such as API reference guides
Thanks!
The text was updated successfully, but these errors were encountered: