Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Exception: SNlM0e value not found. Double-check __Secure-1PSID value or pass it as token='xxxxx'. #221

Closed
SouravApiDev opened this issue Oct 27, 2023 · 1 comment
Assignees

Comments

@SouravApiDev
Copy link

Exception Traceback (most recent call last)
in <cell line: 5>()
3 os.environ['_BARD_API_KEY']="epiIk6A2qHAOPEfJcjRfpd6L-8ZZVMQOpkSK6HrN-J1qASFreTknUC2GIh3QC8LWQpHpwg."
4
----> 5 Bard().get_answer("what is pi?")['content']

/usr/local/lib/python3.10/dist-packages/bardapi/core.py in _get_snim0e(self)
152 snim0e = re.search(r"SNlM0e":"(.*?)"", resp.text)
153 if not snim0e:
--> 154 raise Exception(
155 "SNlM0e value not found. Double-check __Secure-1PSID value or pass it as token='xxxxx'."
156 )

Exception: SNlM0e value not found. Double-check __Secure-1PSID value or pass it as token='xxxxx'.

@dsdanielpark
Copy link
Owner

#128, #155

Please, Read this FAQ page very carefully. https://github.com/dsdanielpark/Bard-API/blob/main/documents/README_FAQ.md

@dsdanielpark dsdanielpark changed the title error Exception: SNlM0e value not found. Double-check __Secure-1PSID value or pass it as token='xxxxx'. Oct 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants