Setting id to task using Google Task API returns 400 invalid value
问题 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