Getting the comment (deleted or uncompleted item) on the latest datapoints. Specifically for my floss goal. I thought it was a bit weird that I had completed it zero times since derailing, so I went into the todoist activity log to check if I did. Sure enough I had, a total of 3 times since then. Not entirely sure what the cause is, but the uncompleted text points to it having to do with it being a recurring goal. I normally manually force a sync before bed so I don’t see any red but I don’t recall doing that lately
Hmm, normally that text means we can’t see that task anymore for some reason. Usually that means the task has been deleted or moved. Do you remember moving the task to a different project or anything like that?
At least for recurring habits like this I pretty much never move them, only ever completing them and letting todoist reschedule them. The only exception is when I complete an overdue daily habit after midnight; todoist doesn’t correctly update the due date, setting it to tomorrow when it should be set to later today.
In this case, that only applies to the 23rd when I completed it both super early and at normal time. That should’ve been reported as a +2 but it looks like only 1 got counted. However, both the 17th and 18th were completed at reasonably normal time and didn’t need to be moved afterwards, but neither day was counted.
Yup I went looking into it, and get_completed_tasks_by_completion_date returns hilariously poor results for recurring tasks. I’m not even sure how it even worked the first couple weeks of my goal, as trying it now with a completed task recurring task doesn’t show anything at all even without the rescheduling issue. There might be a default filter or something I’m missing but at first glance I’m not seeing one.
I’m not sure what you’re using under the hood but I suspect Get Activity Logs would work better, as that’s what I’m using on the web app to see my history for the task in question. Not sure if it’ll work for non-premium users. From a quick glance at reddit, seems like it’s limited to 7 days if not premium, but I haven’t tried it out. 7 days should work since you only really need the last 24ish hours anyways to add datapoints for the day, but they might limit api access to it.
EDIT: or a webhook
Edit2: welp it imported data that isn’t in the tasks by completed date so I’ve got no idea
I’m not sure what we use since I don’t work on the code, but recurring tasks normally work fine, so I’d suspect we don’t use the “get completed tasks by completion date” one, at least! I believe 7 days is what it does sync, so the activity logs sounds likely. But the best thing to do at this point is for you to email us so we can look at your specific goal and dig in behind the scenes. If you can do that and explain which tasks look wrong and show the info from the activity log showing they’re completed, that would be helpful.
You’ll need to do so as soon as possible, so we have a good chance of being able to actually see the evidence – if it goes beyond seven days, we might not be able to do much diagnosis, since we won’t be able to get a live sync of the relevant data.
The email address is support@beeminder.com!
Looking at the code, I can see that we use the API endpoint documented here: Sync API Reference | Todoist Developer
We add a filter by date, to get the last 7 days of completed items.
This seems to work in almost all cases, so I’d be interested to see if you were getting different results from this API than you get from the activity logs. Do let us know, it might be a good reason to move to the newer v1 api!
That API endpoint lists all of the data that’s missing. Might’ve just been a hiccup on either side ¯\_(ツ)_/¯.
In any case it’s working fine now
Ah, well that’s good in the sense that it’s working, but bad in the sense that we don’t know what went wrong!
Drop an email to support@beeminder.com if it starts falling apart again, and we’ll dive in.