vscode-notion icon indicating copy to clipboard operation
vscode-notion copied to clipboard

Request failed with status code 500

Open AndrewLaganaro opened this issue 2 years ago • 8 comments

Hi. I've just intalled the extension. I've found my notion token_v2, copied it and put it on the extension configs as said here.

I copy a link from my private notion notebook, but it always shows this error. image

Any way to solve it?

AndrewLaganaro avatar Mar 29 '22 20:03 AndrewLaganaro

got the same problem. was anyone able to fix it?

zeroknots avatar Jun 21 '22 05:06 zeroknots

same problem + 1.

qicai21 avatar Sep 02 '22 00:09 qicai21

same here. did Notion change something that breaks this now?

I had better luck after changing the API address in the extension settings to https://notion-api.splitbee.io/

dylan-k avatar Nov 16 '22 20:11 dylan-k

My problem was that I was using an API token and not the oauth token which I dug out of my chrome cookies. It now works.

berkobob avatar Dec 07 '22 18:12 berkobob

+1

RingoPeppa avatar Mar 09 '23 14:03 RingoPeppa

In your browser -> Dev tools in your notion log in -> application -> cookies -> notion.so -> token_v2 -> copy de value in the VS code extension settings, in "VSCode Notion: Access Token"

WorrenGilgamesh avatar May 12 '23 16:05 WorrenGilgamesh

Screenshot 2023-05-13 at 13 10 32

With these settings it still didn't worked

toto1384 avatar May 13 '23 10:05 toto1384

I add the same issue.

Be sure to get the token with "Show URL-decoded" unchecked. ":" replaced with % in your token. Screenshot from 2024-04-12 22-45-12

Now it works for public pages but got "Couldn't load the data from API" for pages not published

thibaulthug avatar Apr 12 '24 11:04 thibaulthug