Comments (7)
@ZhenyiQ has been able to reproduce this issue.
@blakeli0 PTAL.
from google-cloud-java.
I also encountered the same issue, and in the end, I was able to temporarily bypass this issue using Transport.REST. Hope this helps @SetoKaiba
You can use ADC for authentication. You can still use the sdk.
from google-cloud-java.
Are you able to verify that the credentials pointed to by GOOGLE_APPLICATION_CREDENTIALS
are actually valid and have permissions to access the API?
cc: @ZhenyiQ
from google-cloud-java.
I confirmed. The ADC is working. But the GOOGLE_APPLICATION_CREDENTIALS not. I double check with others as well. Others can reproduce this with GOOGLE_APPLICATION_CREDENTIALS way. @meltsufin @ZhenyiQ
from google-cloud-java.
I also encountered the same issue, and in the end, I was able to temporarily bypass this issue using Transport.REST. Hope this helps @SetoKaiba
from google-cloud-java.
Thanks @SetoKaiba ! This is indeed a bug in the vertexai sdk. We will push a new version to resolve this. Thanks for bringing this to us!
from google-cloud-java.
@blakeli0 @ZhenyiQ @meltsufin Should the defaultScopes be applied to the method public VertexAI(String projectId, String location, GoogleCredentials credentials)
as well?
from google-cloud-java.
Related Issues (20)
- CHANGELOG.md is not generated for java-vertexai module HOT 1
- emoji error HOT 2
- Warning: a recent release failed
- Authentication error when using a regional endpoint HOT 12
- Remove `codecov.yaml` and `synth.metadata` in java modules
- [attachDiskAsync]: Attach disk does not work unless "iam.serviceAccounts.actAs" permission is set HOT 13
- The CI status link in README.md is broken
- Nightly IT Failure (java-talent): Tenant Already Exists error. HOT 1
- Nightly IT Failure (graalvm-nightly-17): Terraform cleanup error
- IT Nightly (graalvm): Missing jar-file for com.google.api.grpc:grpc-google-cloud-gkehub-v1alpha2 HOT 1
- IT failure: ITPaginationTest.testPaginationNextToken
- Generate signed URLs when using workload identity in Java HOT 3
- IT failure: aiplatform/v1/JobServiceGrpc incompatible types
- [language]: exception while trying to create LanguageServiceClient instance HOT 2
- Use a single unique java library to call the vertex AI API HOT 1
- [Dialogflow] Flaky test - ITSystemTest.detectIntentTest, ITSystemTest:listContextsTest HOT 1
- `com.google.cloud.aiplatform.v1beta1.PredictionServiceClient#countTokens` promotion from v1beta1 to v1 HOT 1
- Google cloud error reporting - INVALID_ARGUMENT: Reported Error too large HOT 1
- `com.google.cloud.vision.it.ITSystemTest.detectWebEntities[IncludeGeoResults]GcsTest` is Flaky HOT 2
- [vertexai] Unexpected SafetyRating Format in Vertex AI GenerateContentResponse HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-cloud-java.