Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It fails with 403 value. #120

Open
Archie-2021 opened this issue Sep 5, 2024 · 3 comments
Open

It fails with 403 value. #120

Archie-2021 opened this issue Sep 5, 2024 · 3 comments

Comments

@Archie-2021
Copy link

Archie-2021 commented Sep 5, 2024

I think if I am getting 403 there is something wrong here and it is not being me or something with my connection. I used to use this plugin without any problems.

PS: it seems to be a problem with API key, but I don't recall using a key , and it used to work just out of the box.

@luckylat
Copy link
Contributor

luckylat commented Sep 5, 2024

I test the condition to occur 403.

  • Custom API Key doesn't use -> 200 or 429( Status 429 #47 )
  • Invalid API Key -> 400
  • Correct API Key but It has API connection issue -> 403

Try this:
"Settings" -> "Google API Settings" -> click "API Check" in "Status Check" (output dialog is "API Key exist" or "API Key does not exist")
If the output is API Key exist, "Save Key" in "Set API Key" with blank textarea. (if you don't use custom API Key)
if not... I can't reproduced. I need more information about condition.

@Archie-2021
Copy link
Author

Archie-2021 commented Sep 6, 2024

I test the condition to occur 403.

  • Custom API Key doesn't use -> 200 or 429( Status 429 #47 )
  • Invalid API Key -> 400
  • Correct API Key but It has API connection issue -> 403

Try this:
"Settings" -> "Google API Settings" -> click "API Check" in "Status Check" (output dialog is "API Key exist" or "API Key does not exist")
If the output is API Key exist, "Save Key" in "Set API Key" with blank textarea. (if you don't use custom API Key)
if not... I can't reproduced. I need more information about condition.

obsidian-book-search-plugin.tar.gz

It says "key doesn't exist" . It is possible it is being an issue with my connection then.. I attached the folder for plugin for you to see, guess it is the best option

@luckylat
Copy link
Contributor

luckylat commented Sep 10, 2024

thank you. unfortunately, the files didn't meaningful data because it is same build file by latest. so I only say reinstall it once if it is not usable.
currently, the error is occured? if so, I recommend to use custom api key(if you know the usage). if not so, the error is flaky (it may be api rate limit by shared API)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants