-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New API version v9 #103
Comments
too bad...so this is the reason for the message: |
I've used this module on a number of my MagicMirrors and have dug in the past into the use of the api request. I won't have time to test it today but add apiVersion: "V9"' to your config.js file. This is an undocumented option for the config file. I'm sorry I can't test it first but I'll try it in the next couple of days. If you try it, let me know if it works. I hope it helps. |
Thank you for your feedback, I have already carried out several tests including that of modifying the MMM-Todoist.js and I saw that too : but, nothing works :( |
@tkotz8105 : were you able to test ? For my part, impossible to make it work... anyone else have an idea? 😊 |
Just ran a test and it works for me ... with apiVersion: "v9". As part of the test, I added a console.log to node-helper.js to display the url used in the POST request and here's what I got https://todoist.com/API/v9/sync/ Here's my config for MMM-Todoist: |
Thanks a lot ! it finally works! |
Thanks for this @tkotz8105! For others dealing with the v9 API issue, you must specify the projects or it will not return results. |
it worked for me to just add " apiVersion: 'v9', " to the config-file |
The apiVersion did not work for me. I tried recreating a new API token in the web console but it kept saying that my session timed out and would log me out. I fixed this by creating a second account with a new API key. |
Hey there - just want to say thank you. The change from |
Yes...I can confirm, it works. |
Hey all, Thanks for the pointers but im still having issues. |
Wierd.. |
Strange... |
Similar situation as soldatino13. Installed todoist on the 22/12 and it worked with 2 lists and updated with new items as they were added by external source however stopped updating within 24 hours. Upon refreshing both lists stuck on "Loading" with log showing a 403 error which brought me to this thread. I have tried all of the above and in every combination I can imagine (with v9, apibase as todoist.com.apu and api.todoist, without these, reinstalled mmm-todoist, new access token, new app with new access token, with and without labels and other config options) but no luck. anyone have any ideas? I only started with magic mirror the other day so havent dug far past the config file. |
having the same issue. I initially thought I had made too many requests as I had set it to refresh every five minutes, but i guess this isn't the case if others are seeing this too. I've tried using different the following end-points for the sync api:
I've also tried the config file with and without the two options below.
All of these variations result is either 403 or 404 errors. I noticed that the latest commit says "Updated API version from v8 to v9" however from my very simple understanding the code in MMM-Todoist.js still has the defaults set to:
|
I found the latest solution to the 403 error in an article on the Todoist Google Group. https://groups.google.com/a/doist.com/g/todoist-api/c/sqrGTtCr-4A I've never updated the GIT codebase myself so I'll just put the solution here and hopefully someone else can update the codebase. In node_helper.js in MMM-Todoist, starting on line 36: Old: New: |
This worked a charm, well done finding that. Similarly going to opt out of updating the codebase as I'd definitely get something wrong. |
Good catch @vadincarai! 🎣 It works, thank you very much for sharing. |
Thank you. I spent way too much time trying to figure this out. It worked for me for a few hours then completely failed on me. This resolved the issue. |
Thank you so much for sharing, my MagicMirror is now working great again! |
Thank you very much for your sharing, since it works perfectly on my side! |
Im late to the party but my Todoist is stuck on loading. Ive read the posts above, but can someone explain to me what steps I need to take in oder for me to get this working?
Current coding since last christmas: { } Ive tried adding api V9 and api base , then it looks like: Can someone point me in the right direction? If I need to post aditional info, please explain how I extract this data. |
Hi @BGH-H - first have you already pulled the most recent update? Open the console and:
|
thanks @ mazim-co. The update was enough to get it to work again. Many thanks. |
Hi all, First time poster (like many others in the thread). I tried the manual updates vadincarai originally suggested, and I've made sure to update to the Dec 28th commit, and neither method is working. I'm still seeing "Loading..." but at least I'm not getting any errors in the console anymore! I've tried remaking the OAuth token, and adding/removing manually added code, and nothing seems to move it from "Loading..." status. I'm currently sitting with vanilla code from the latest commit, my config.js has the example code from here on github (with my token added in), and I'm hoping someone can help me figure this out. Did I miss a step somewhere? |
Hi all, any thoughts on the above post? I've tried a bunch of times, including reinstalling the whole magicmirror and only having this module present, and still just see "Loading..." any ideas on what could be the cause? |
Just kidding - sort of good news here, I got it fixed! I had been running in Docker but that version must be way out of date. I built MagicMirror back up from scratch using the github version and now it works perfectly! |
hi, I would like to use this app but obviously, it no longer works since the API was upgraded to v9, is an update planned? Thanks for the work anyway :)
The text was updated successfully, but these errors were encountered: