GithubHelp home page GithubHelp logo

Comments (7)

meltsufin avatar meltsufin commented on May 28, 2024 1

@ZhenyiQ has been able to reproduce this issue.
@blakeli0 PTAL.

from google-cloud-java.

SetoKaiba avatar SetoKaiba commented on May 28, 2024 1

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.

meltsufin avatar meltsufin commented on May 28, 2024

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.

SetoKaiba avatar SetoKaiba commented on May 28, 2024

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.

pandazki avatar pandazki commented on May 28, 2024

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.

ZhenyiQ avatar ZhenyiQ commented on May 28, 2024

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.

SetoKaiba avatar SetoKaiba commented on May 28, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.