Giter Club home page Giter Club logo

Comments (10)

sublimeclemency avatar sublimeclemency commented on July 18, 2024 1

@dsdanielpark maybe please mention "your __Secure-1PSID may change, so if you get error, double check that the api key is up to date." in README

from bard-api.

Darkness-Bright avatar Darkness-Bright commented on July 18, 2024

seems like this problem exists for both of us.
anyone else?

from bard-api.

dsdanielpark avatar dsdanielpark commented on July 18, 2024

Which bardapi version are you guys using? It works still well. Reinstall bardapi
Please tell me the version that you use and double check the __Secure-1PSID cookie value.

pip uinstall bardapi
pip install bardapi==0.1.11

from bard-api.

Darkness-Bright avatar Darkness-Bright commented on July 18, 2024

reinstalled 0.1.11, and the api key value is correct...

there must be an explanation :\

from bard-api.

sublimeclemency avatar sublimeclemency commented on July 18, 2024

i encountered this issue in an VM in https://replit.com.
this is not likely to be a network or platform-specific issue

from bard-api.

sublimeclemency avatar sublimeclemency commented on July 18, 2024

oh i think i got this

the error occurred in core.py, which maybe we were not meant to use, right?

from bard-api.

dsdanielpark avatar dsdanielpark commented on July 18, 2024

i encountered this issue in an VM in https://replit.com. this is not likely to be a network or platform-specific issue

I have just confirmed that it is working correctly on Replit. It seems that we need to investigate common errors in Issue #1 . Could you please first find a working environment and then identify the cause?

replit

from bard-api.

sublimeclemency avatar sublimeclemency commented on July 18, 2024

okay, join this test repl
https://replit.com/join/vlarlpwiqr-markzhere

from bard-api.

dsdanielpark avatar dsdanielpark commented on July 18, 2024

oh i think i got this

the error occurred in core.py, which maybe we were not meant to use, right?

Calling core.py is working fine. However, the reason I initially asked about the version is that in the current stable release of bardapi==0.1.11, line 86 is a doc string and not code for parsing JSON.

from bard-api.

sublimeclemency avatar sublimeclemency commented on July 18, 2024

we tested, the api key may change, as it had happened with me. once it changes, it should return invalid response, which causes this error.

well, the __Secure-1PSID changed for me, so yeah.

from bard-api.

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.