google-tasks

Setting id to task using Google Task API returns 400 invalid value

自古美人都是妖i 提交于 2019-12-25 08:59:43
问题 I am using Google's Java API for an project. Strangely, inserting a task without setting an id works fine. However, inserting a task with a id returns a 400 invalid value error. The id is to be used for syncing local data with Google Tasks I'm pretty sure there's nothing wrong with the algorithm that generates the ids for the task. The same algorithm works perfectly for Google Calendar API. Am I missing something here? 回答1: You may refer with this SO answer. It suggested to pass the id key

Google APIs - Different Versions

橙三吉。 提交于 2019-12-24 20:32:43
问题 I am using Google Tasks API V1 dot net libraries. In the same project I also want to use Google Drive, Contacts and Calendar APIs. Drive, Contacts and Calendar APIs are V2. Now the issue I am facing is that Google Tasks .Net libraries and Google Drive/Calendar .Net libraries do not work together. Visual Studio would not compile (error: these libraries are linked to different versions of Google.apis.dll). I tried finding Tasks API libraries V2, but it does not exist. Then I tried finding

Google Tasks API does not give update about Task completion when New Gmail Theme used

北慕城南 提交于 2019-12-23 12:52:16
问题 First I created a Task using below link: https://mail.google.com/tasks/canvas Then I marked it as Completed. When I checked the API Response for the same using: Services > Tasks API v1 > tasks.tasks.list [Returns all tasks in the specified task list.] I was able to view the updates & found the task i marked as complete. However when I did the same using New interface (theme) from GMail, I found that the task I updated with completion was not at all there in above API Response. Thus Google

How to set Google Tasks Due Date

爱⌒轻易说出口 提交于 2019-12-20 03:13:19
问题 How do you set the due date for a task with the google tasks service in apps script? Tasks Service Trying to set this value to a given date, but this seems to only update the local value not the server value as tehhowch suggests task.due = new Date(); How do you update the server? Here is what I tried var x = { due: new Date() }; Tasks.Tasks.update(x, "MDE2NzI3NTAzNjc5NTQ1ODY5MTY6MDow", task); but it throws the error Invalid value for: Invalid format: "Tue Apr 10 20:45:26 GMT-04:00 2018"

Date comparisons with formatDate in Google Apps Script are 1 day behind

北慕城南 提交于 2019-12-11 16:59:37
问题 Writing a Google Apps Script that looks at tasks via the Google Tasks API (as an Advanced Service) and checks their due date to see if they are overdue. If they are, it should then move them to the current day. Completed Project I used this code to create this project for keeping Google Tasks up to date: Keep Google Tasks Updated Issue When comparing the current day with the date the task is due, the date the task is due is always one day behind. Research Looking into it I found that it could

Google Tasks API: 403 Forbidden, Serving Limit Exceeded

天大地大妈咪最大 提交于 2019-12-04 20:05:02
问题 Hello Google Tasks API team, Since a couple of days ago we've started getting "403 Forbidden" for many of our users. Can you please check what is going on? Our API console is clean, #calls are way bellow quotas. Caused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden { "code" : 403, "errors" : [ { "domain" : "global", "message" : "Serving Limit Exceeded", "reason" : "serviceLimit" } ], "message" : "Serving Limit Exceeded" } at com.google.api.client

Generate an RFC 3339 timestamp similar to Google Tasks API?

旧城冷巷雨未停 提交于 2019-11-27 19:22:14
I am in the process of building an app that syncs with Google Tasks. As part part of the syncing, I want to compare the local task and the API task, and see which one has been changed more recently. Each task from Google's API contains an updated property, which looks like this: 2011-08-30T13:22:53.108Z Now I would like to generate a timestamp similar to that, so that every time I update a task on my app it sets a new updated value. To generate the RFC 3339 timestamp I am using - http://cbas.pandion.im/2009/10/generating-rfc-3339-timestamps-in.html which generates something like this: 2011-08

Generate an RFC 3339 timestamp similar to Google Tasks API?

家住魔仙堡 提交于 2019-11-27 19:09:07
问题 I am in the process of building an app that syncs with Google Tasks. As part part of the syncing, I want to compare the local task and the API task, and see which one has been changed more recently. Each task from Google's API contains an updated property, which looks like this: 2011-08-30T13:22:53.108Z Now I would like to generate a timestamp similar to that, so that every time I update a task on my app it sets a new updated value. To generate the RFC 3339 timestamp I am using - http://cbas