alangrainger / obsidian-google-photos

Connect to Google Photos from Obsidian
GNU General Public License v3.0
93 stars 5 forks source link

New 403 Error #29

Closed bhemmelgarn closed 11 months ago

bhemmelgarn commented 11 months ago

I see that there has previously been a 403 error, I believe I have a new one. I completed the setup according to the instructions with no apparent issue. However, when attempting to run a query, I get "Error: Unknown status 403" (image attached) no matter the substance of the query. I have given several hours wait and re-launched Obsidian with no effect, and I cannot click the login button again.

image

alangrainger commented 11 months ago

When you say "a query", do you mean a codeblock query, or do you mean when running the command Insert Google Photo ? Does the command function correctly?

bhemmelgarn commented 11 months ago

Both. The above image is what I get when inserting a code block, the below image is when running the command. image

alangrainger commented 11 months ago

403 error is unauthenticated error from Photos API. Maybe double-triple-quadruple check your Client ID and Secret, and make sure they're exactly the same as on the Google Console.

Double-check also in Google Console that you have Photos Library API permissions (step 5).

Otherwise I can only suggest running through the whole setup again and checking each step. I've done it so many times now during development and I'm pretty confident that it works if you follow all steps.

I've done it again just now for example in the Sandbox vault, and setup and inserting photos worked without any issues.

bhemmelgarn commented 11 months ago

Same issue. I'll try it again in a sandbox first then try the reinstall.

bhemmelgarn commented 11 months ago

That did it. Sorry for the false flag but thank you for the troubleshooting support!