notion-anki-sync icon indicating copy to clipboard operation
notion-anki-sync copied to clipboard

Namespace/Username?

Open slimkhouja opened this issue 3 years ago • 7 comments

Hi,

Silly question: What is the Namespace/Username I have to input in "notion_namespace" supposed to be? I use my email address to log in into Notion...

Bildschirmfoto 2021-10-26 um 12 12 49 Bildschirmfoto 2021-10-26 um 12 16 37

The question is: Should "My Workspace", "mydomain00", "My Name" or my email address go into notion_namespace?

{ "anki_target_deck": "Notion sync", "debug": false, "notion_namespace": "???", "notion_pages": [ { "page_id": "", "recursive": false } ], "notion_token": "", "sync_every_minutes": 30 }

Thnaks in advance!!!

slimkhouja avatar Oct 26 '21 10:10 slimkhouja

Also I have to add that I tried every one of the options above but I still get no synchronisation to my Notion page. Nothing seems to happen at all and I don't even get an error message....

slimkhouja avatar Oct 26 '21 10:10 slimkhouja

The only purpose of notion_namespace is to compose "backlinks" in the source field, e.g. https://www.notion.so/{{notion_namespace}}/Algorithms-7b8cf537391a4df0be4be33f02d1cab5.

As for synchronization issues, could you provide a log file?

  1. Set "debug": true in the plugin config
  2. Trigger sync from the top menu
  3. Go to %AppData%\Anki2\addons21\1940767534 (Win), ~/Library/Application Support/Anki2/addons21/1940767534 (Mac) or ~/.local/share/Anki2/addons21/1940767534 (Linux) and upload the content of the log.txt file to https://gist.github.com/.

9dogs avatar Oct 27 '21 16:10 9dogs

Thanks for you response :) I uploaded the content of the log file in the link you provided.

slimkhouja avatar Oct 31 '21 19:10 slimkhouja

Hey. For me to see the log, please use the "Create public gist" button (see pic) and then copy-paste the link from the address page here. image

9dogs avatar Nov 01 '21 11:11 9dogs

Done! https://gist.github.com/slimkhouja

slimkhouja avatar Nov 01 '21 12:11 slimkhouja

Hello, If you're having trouble with a finding namespace in Anki, you might need to use the domain name instead of the workspace name from Notion to get things working properly. You can find the domain name in your Notion settings under "Public Settings" and "Domain." Keep in mind that if you change the domain, the page IDs will also change, so you'll need to update those in Anki as well. This should help resolve any issues you're experiencing.

rahulbagai avatar Jan 07 '23 19:01 rahulbagai

I got it to work with the email address.

fugohan avatar Jun 10 '23 21:06 fugohan