benjypng / logseq-todoist-plugin

MIT License
125 stars 19 forks source link

Can't get plugin to retrieve tasks #80

Closed MagnusHallas closed 8 months ago

MagnusHallas commented 8 months ago

Hi,

I'm trying to send tasks from Zotero (by Zotodo plugin) to Todoist, and then retrieve that task in Logseq. I have copied in the token and selected the appropriate project to retrieve tasks from, but when I try to retrieve it, it does something and then deletes the block that I retrieved from.

Is it because I use the same API for Zotero and Logseq?

benjypng commented 8 months ago

Yes, the API keys should be different. You should be getting your Todoist API key from https://developer.todoist.com/appconsole.html

MagnusHallas commented 8 months ago

Okay, thank you for the answer. Now it works for tasks that I create in Todoist, but it won't retrieve the task that got sent from Zotero (using the Zotodo plugin). I can't find any differences between my task and the imported task from Zotero, when I look at the two tasks in Todoist.

MagnusHallas commented 8 months ago

Never mind. Found that the reason is that the task was created before I installed the Todoist plugin in Logseq. When I re-created the task in Todoist, it worked.