You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bounty proposal] fix(clickup-app): safely coerce assignee IDs, timestamp due dates, and priority in create_task #13922
Assignee ID Crash on Non-Numeric Tokens: In plugins/omi-clickup-app/clickup_client.py (create_task), the assignee list was processed using task_data["assignees"] = [int(user_id) for user_id in assignees if user_id]. If assignees contains names (e.g. when fuzzy matching returns names or fallback tokens like "None"), whitespace strings, or None, int(user_id) raises an unhandled ValueError or TypeError. This error escapes into the outer exception handler and aborts task creation completely (return {"success": False, "error": str(e)}), preventing the task from ever being created in ClickUp.
Timestamp Due Date Failure: create_task docstring states due_date: Optional due date in ISO format or Unix timestamp (milliseconds). However, passing a millisecond timestamp crashes with TypeError: argument of type 'int' is not iterable due to 'T' in due_date, or ValueError: Invalid isoformat string on numeric string timestamps.
Unvalidated Priority: Priority inputs were passed directly without coercion to ClickUp's 1–4 priority scale.
Evidence
plugins/omi-clickup-app/clickup_client.py lines 346–350 and 366–395.
Tested: passing assignees=["sarah"] or due_date=1726358400000 causes unhandled exceptions that fail task creation.
Fix
Implemented ClickUpClient._coerce_assignee_ids(assignees) to safely extract positive integer IDs, filter invalid/sentinel values (None, "None", names, negatives, booleans) without throwing, and deduplicate IDs.
Enabled graceful continuation: if no valid assignee IDs are resolved, task creation logs a warning and continues rather than crashing.
Added support for numeric timestamps (integers, floats, digit strings) in milliseconds alongside ISO format strings.
Added priority coercion and boundary validation (1–4).
Added comprehensive unit test coverage in plugins/omi-clickup-app/test_clickup_client.py (14 passing tests in 0.02s) and registered clickup-client-tests in .github/checks-manifest.yaml.
Bounty proposal: $50 proposed for the ClickUp input-coercion fix in PR #14093. This is a proposed amount, not a claim of payment; please confirm/award it if the fix is accepted. Payout rail: PayPal (configured operator address).
Activity
aryanorastar commentedon Sep 20, 2026
Closing as already fixed on current main.
Current main clickup create_task try/excepts int(assignees) and accepts int/str due_date timestamps
t3ratech commentedon Sep 21, 2026
Bounty proposal: $50 proposed for the ClickUp input-coercion fix in PR #14093. This is a proposed amount, not a claim of payment; please confirm/award it if the fix is accepted. Payout rail: PayPal (configured operator address).
fix(clickup-app): coerce assignee/due-date/priority inputs (BasedHard…
fix(clickup-app): coerce assignee/due-date/priority inputs (BasedHard…
fix(clickup-app): coerce assignee/due-date/priority inputs (BasedHard…