obsidian-todoist-plugin icon indicating copy to clipboard operation
obsidian-todoist-plugin copied to clipboard

get the error "Oh no, something went wrong"

Open mustachius opened this issue 3 years ago • 2 comments

I use Obsidian 0.14.2 and when creating a new note with the code block:

{
"name": "My Tasks",
"filter": "today | overdue"
}

Instead of getting the Todoist task list, I get the message.

"Oh no, something went wrong!

Error: Forbidden

I've tried changing the filters to pt-br (Todoist's native language) but I've been unsuccessful.

mustachius avatar Apr 05 '22 11:04 mustachius

Hey @mustachius, this error is reported from Todoist. I'd check the API token that you provided the plugin, if this was pasted incorrectly, I would expect this error message back.

jamiebrynes7 avatar Apr 09 '22 18:04 jamiebrynes7

@jamiebrynes7 I'm getting this same issue. I have confirmed that the API token was copied correctly.

Any movement on this issue? Or some way I can pull logs to help?

mcconnellj avatar Aug 25 '22 18:08 mcconnellj

I have this issue, and it seems a problem with Todoist's API. However, in my case I do not get a response of "Forbidden", but a 500 response instead. I tried with API v2 (see #176) in which case I get a 404 response. In any case, it does not work. It works with simpler filter strings such as "filter": "today", but not with "filter": "today | overdue".

I'll figure out with Todoist API developers why this is the case.

gnapse avatar Sep 23 '22 16:09 gnapse

Hey @mcconnellj, @mustachius can you try the latest v1.10.0 release?

It contains the update to Todoist's REST API v2, which may resolve the issue

jamiebrynes7 avatar Oct 17 '22 18:10 jamiebrynes7

@jamiebrynes7 still seeing the error message on my side.

mcconnellj avatar Oct 17 '22 20:10 mcconnellj

I've also tried the newest release and am still getting this error.

Viibrant avatar Nov 28 '22 11:11 Viibrant

Hey all, the latest release v1.10.1, also has a change to how requests are made that might resolve this issue.

Let me know if you're still experiencing the issue

jamiebrynes7 avatar Dec 23 '22 16:12 jamiebrynes7

Still on this grind with you @jamiebrynes7 @Viibrant.

Mine is not working with the following versions. Obsidian 1.1.8 Todoist Plugin 1.10.1

This is the query I'm using, I don't have a lot of experience so I figured I'd add it for review.

ssCapture

mcconnellj avatar Dec 23 '22 16:12 mcconnellj

@Viibrant what OS are you on?

Windows 10 pro for me.

mcconnellj avatar Dec 23 '22 16:12 mcconnellj

@jamiebrynes7 @Viibrant.

I'm getting intermittent tasks. I believe my issue was not restarting the application after entering the API key. I take full accountability for not reading the instructions, my bad.

That being said I'm getting off and on 503 errors. I'll add more details if the plugin continues to misbehave.

Much love my friends, Thank you for your help.

mcconnellj avatar Dec 30 '22 16:12 mcconnellj

Glad it's beginning to work for you @mcconnellj! I never did update ~

I'm on Ubuntu 22.04. After trying everything I refreshed my API token an unknown amount of times and that appears to have resolved it! Not sure why that worked and is very unsatisfying, but at least I can use it now :) Jolly good show!

Viibrant avatar Dec 30 '22 16:12 Viibrant

@jamiebrynes7 this looks like a resolved bug. Not sure if this was already closed, if not it should be.

Unless of course, @gnapse or @mustachius are still having issues. No movement from them since before September though.

Cheers, Josh

mcconnellj avatar Dec 30 '22 18:12 mcconnellj

I'm happy to close this bug, if folks continue to hit this issue we can re-open it!

jamiebrynes7 avatar Dec 31 '22 20:12 jamiebrynes7