Sitelet https://github.com/basecamp/basecamp-cli/issues/471
Skip to content

tools create returns a 404 instead of creating a new tool in the project #471

Description

@FWDavide

Hey,

Not sure if this is a real issue or just my wrong interpretation of tool create, I apologize in advance if the latter.

I tried the following command:

basecamp tools create "Intervention Log / Journal" --source 6428743498 --in 33861629 -vv

The goal was to create a new message board in my project from the existing one.

Expected

A new dock tool is created in the project.

Actual

404 with the trace below:

[0.583s] Calling Tools.Create
[0.620s]   -> POST https://3.basecampapi.com/5245563/dock/tools.json
[0.777s]   <- 404 (157ms)
[0.777s] Failed Tools.Create: Not Found
{
  "ok": false,
  "error": "Not Found",
  "code": "not_found"
}

Environment

basecamp version 0.7.2
macOS (darwin)

More info

Use basecamp api post "/buckets/<bucket_id>/dock/tools.json" directly with {"source_recording_id": <existing_tool_id>, "title": ""}. The source_recording_id field is required — other names (source_id, source_tool_id, clone_source_id) all return 400 with no error body.

basecamp api post "/buckets/33861629/dock/tools.json" \
  -d '{"source_recording_id":6428743498,"title":"Intervention Log / Journal"}' --json

returns 200 and creates a new (empty) Message::Board in the project.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions