Agent skill
todoist-api-common-issues
Sub-skill of todoist-api: Common Issues.
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/business/productivity/todoist-api/common-issues
SKILL.md
Common Issues
Common Issues
Issue: 401 Unauthorized
# Verify your API token
curl -s -X GET "https://api.todoist.com/rest/v2/projects" \
-H "Authorization: Bearer $TODOIST_API_KEY"
# Check if token is set correctly
echo $TODOIST_API_KEY
# Regenerate token at:
# https://todoist.com/app/settings/integrations/developer
Issue: 429 Too Many Requests
# Implement exponential backoff
import time
def retry_with_backoff(func, max_retries=5):
for i in range(max_retries):
try:
return func()
except Exception as e:
if "429" in str(e):
wait = 2 ** i
print(f"Rate limited, waiting {wait}s")
time.sleep(wait)
else:
raise
Issue: Task not appearing
# Check if task was created in different project
all_tasks = api.get_tasks()
for task in all_tasks:
if "keyword" in task.content.lower():
print(f"Found: {task.content} in project {task.project_id}")
Issue: Due dates not parsing
# Use explicit date format
api.add_task(
content="Test task",
due_date="2025-01-20" # ISO format
)
# Or use due_datetime for specific time
api.add_task(
content="Test task",
due_datetime="2025-01-20T14:00:00Z" # ISO with time
)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?