Skip to content

Google Calendar Delete Event action sends unresolved {{sendNotifications}} template variable #79

@Anna-Nevm

Description

@Anna-Nevm

Bug

The Delete an Event from a Calendar action (conn_mod_def::GJ6RlN24ctU::0y6GOBuWT4ShfvJCjD3vRw) for the google-calendar platform sends a literal {{sendNotifications}} template placeholder as a query parameter to the Google Calendar API, causing all delete requests to fail with a 400 Bad Request.

Error

{
  "error": {
    "errors": [
      {
        "domain": "global",
        "reason": "invalidParameter",
        "message": "Invalid boolean value: '{{sendNotifications}}'.",
        "locationType": "parameter",
        "location": "sendNotifications"
      }
    ],
    "code": 400,
    "message": "Invalid boolean value: '{{sendNotifications}}'."
  }
}

Steps to Reproduce

  1. Connect a Google Calendar account via one add google-calendar
  2. Run:
one --agent actions execute google-calendar \
  conn_mod_def::GJ6RlN24ctU::0y6GOBuWT4ShfvJCjD3vRw \
  <connectionKey> \
  --path-vars '{"calendarId": "primary", "eventId": "<any-valid-event-id>"}' \
  --query-params '{"sendUpdates": "none"}'
  1. Request fails with the error above.

Expected Behavior

The sendNotifications template variable should either be resolved to a default value (e.g. false) or omitted from the request entirely when not explicitly provided by the user.

Actual Behavior

The literal string {{sendNotifications}} is sent as a query parameter value to Google's API, which rejects it as an invalid boolean.

Explicitly passing --query-params '{"sendNotifications": "false"}' does not override the template — the unresolved placeholder is still sent.

Environment

  • One CLI (latest, installed via npm)
  • macOS
  • Node.js 24

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions