How to retrieve recurring tasks through the API

52 views
Skip to first unread message

Rune Storløpa

unread,
Dec 11, 2018, 4:25:36 PM12/11/18
to Remember The Milk API
Hi

This is somewhat related to Maxims post from June, but since he hasn't gotten any answers I'll try to broaden the question.

I'm trying to retrieve tasks through the API. However I'm not able to retrieve any tasks which has been set to recurring.
For all tasks without any recurrence set, the following call works fine:


However, if I add recurrence to any of the tasks retrieved in the above call, I get the following response:

<?xml version=\'1.0\' encoding=\'UTF-8\'?><rsp stat="fail"><err code="105" msg="Service currently unavailable"/></rsp>

Is there some other method for retrieving recurring tasks through the API? 
The apps (mac and iphone) and the web gui are able to handle these tasks just fine, so I believe it has something to do with (how I use) the API...

Rune

Kai Walter

unread,
Feb 19, 2019, 12:11:20 PM2/19/19
to Remember The Milk API
I ran into the same problem. It seems that all the API calls in API Version 2 don't work if recurring tasks are involved. You can't update a task (e.g. change a due date), complete it, retrieve it, etc.
So I had to change my application to use API Version 1 for all recurring tasks.
In order to retrieve tasks I had to use two calls: one for retrieving recurring tasks using version 1 and one for retrieving non recurring tasks using version 2.
One of the results is that it is not possible to use "start date" with recurring tasks, since start date is only available in version 2.
:-(

Kai

Robert Ward

unread,
Mar 14, 2019, 4:20:53 PM3/14/19
to Remember The Milk API
I just tested running a search on recurring tasks and didn't run into any problems. I'm using pyrtm:

Rune Storløpa

unread,
Mar 25, 2019, 3:00:33 PM3/25/19
to Remember The Milk API
I can confirm that using the API Version 1 works for me as well. That's a step forward at least... But it would be nice if it could be fixed for version 2 as well...

...and I wonder if the reason this doesn't seem to be a problem with pyrtm, is that this package uses Version 1 by default...? (Just a theory of mine)

Rune

Alexey Palazhchenko

unread,
Apr 10, 2019, 6:36:03 PM4/10/19
to Remember The Milk API
It seems I hit the same problem. Are there plans to fix that?

–-–
Alexey

Robert Ward

unread,
Jun 12, 2019, 11:18:48 PM6/12/19
to Remember The Milk API
No I'm using V2 with pyrtm. I had to make some changes to the defaults as the package has not been updated in a long time.
Reply all
Reply to author
Forward
0 new messages