Skip to content

create_list_from_template_in_folder/space returns HTTP 404 (wrong URL path) #4

Description

@Esteban-Rod

Summary

Both create_list_from_template_in_folder and create_list_from_template_in_space consistently return ClickUp API Error (404) when called with valid IDs, while the equivalent direct REST calls succeed.

Repro

With a valid CLICKUP_API_TOKEN, given:

  • a real folder_id you can write to
  • a real template_id for a list template visible in your workspace (retrievable via GET /api/v2/team/{workspace_id}/list_template)

Call the MCP tool:

{
  "name": "create_list_from_template_in_folder",
  "arguments": {
    "folder_id": "<your folder id>",
    "template_id": "<your template id, with or without the t- prefix>",
    "name": "Test"
  }
}

Result: ClickUp API Error (404): Request failed with status code 404.

Why

In src/clickup-client/lists.ts, the two methods build the path as:

this.client.post(`/folder/${folderId}/list/template/${templateId}`, params);
this.client.post(`/space/${spaceId}/list/template/${templateId}`, params);

But the ClickUp REST API expects list_template (single segment with an underscore), not list/template (two segments). Per:

A direct curl against the underscore path works (with or without the t- prefix on the template id):

curl -X POST -H "Authorization: $TOKEN" -H "Content-Type: application/json" \
  -d '{"name":"Test"}' \
  https://api.clickup.com/api/v2/folder/{folder_id}/list_template/{template_id}
# → 200 OK, list is created with the template's statuses, custom fields,
#   milestones and sub-tasks

Environment

  • clickup-mcp-server v1.12.0 (latest published as of 2026-04-29)
  • Node 18+
  • macOS, but the URL is what's broken — platform-independent

Fix

One-character change per method in src/clickup-client/lists.ts: replace list/template with list_template. PR coming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions