zemmyang / Habitica-GoogleTasksSync

An assortment of Habitica scripts for various purposes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recurring Tasks don't transfer the next day: Need to confirm

itilitymsp opened this issue · comments

I suspect the task alias, is being referenced in the completed item, and won't let another task come in. Two ways to handle.

  1. check for recurring tasks then create a recurring task in Habitica... don't even know if that's possible,
  2. add an incremental number up to 90 to task alias if the item is already completed in habitica.
  3. another way? add these as dailies, and just update the done daily?
  4. ?

Here's the current log:
Nov 16, 2022, 7:22:40 PM Info Adding: Habitica Review Morning
Nov 16, 2022, 7:22:40 PM Info Exception: Request failed for https://habitica.com returned code 400. Truncated server response: {"success":false,"error":"BadRequest","message":"todo validation failed","errors":[{"message":"Task alias already used on another task.","path":"al... (use muteHttpExceptions option to examine full response)
Nov 16, 2022, 7:22:42 PM Info Adding: Habitica Review Evening
Nov 16, 2022, 7:22:42 PM Info Exception: Request failed for https://habitica.com returned code 400. Truncated server response: {"success":false,"error":"BadRequest","message":"todo validation failed","errors":[{"message":"Task alias already used on another task.","path":"al... (use muteHttpExceptions option to examine full response)

yea, recurring tasks on gtasks wasn't a thing back when i made this. ill look into it