API data outdated
The data I retrieve through the API is sometimes outdated. After I have updated tasks the API keeps returning the old tasks.
The task are already synchronized with the server. When I use a diferent browser and log in tot todoist I can see the updated task but the API is still returning the old status.
The API should be updated instantly. Could you provide some URLs?
Thanks for the quick response.
I am calling the API from a Google Apps Script. It took about 15-20 minutes before the API call returned the up to date status. I looked directly at the API response from the http://todoist.com/API/query call using the debugger.
If your API is directly fed from the same database as your frontend then could it be caching from the Google Apps Script?
I noticed this behaviour before but most of the time it is ok. I just ran some test but and at the moment the API stays up to date with the changes I make.
I cannot sent you a reproducable test case now so I will try to figure out what is happening next time I encounter this.
Please send us a detailed test case when you can reproduce it, we would love to look into it.