Skip to content

[BUG] Cal.com - Update eventTypeId prop type to integer #17485

Open
@dannyroosevelt

Description

@dannyroosevelt

I'm having trouble getting this to work:
https://pipedream.com/connect/demo?app=cal_com&component=cal_com-create-booking

I keep getting errors like this:

{
  "exports": {
    "debug": {
      "status": 400,
      "statusText": "Bad Request",
      "headers": {
        "date": "Sat, 05 Jul 2025 21:14:03 GMT",
        "content-type": "application/json; charset=utf-8",
        "content-length": "56",
        "connection": "keep-alive",
        "access-control-allow-credentials": "true",
        "access-control-allow-headers": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version, Content-Type, api_key, Authorization",
        "access-control-allow-methods": "GET, OPTIONS, PATCH, DELETE, POST, PUT",
        "access-control-allow-origin": "*",
        "cache-control": "public, max-age=0, must-revalidate",
        "calcom-response-id": "aQ0Br0KUUEXFrsuTP9Aql",
        "etag": "\"72slw5yt3c1k\"",
        "server": "cloudflare",
        "strict-transport-security": "max-age=63072000",
        "x-matched-path": "/api/bookings",
        "x-ratelimit-limit": "30",
        "x-ratelimit-remaining": "29",
        "x-ratelimit-reset": "1751750100000",
        "x-vercel-cache": "MISS",
        "x-vercel-id": "iad1::cle1::ln5bs-1751750043514-f7549ded656a",
        "cf-cache-status": "DYNAMIC",
        "cf-ray": "95a9deabac3781c4-IAD"
      },
      "config": {
        "transitional": {
          "silentJSONParsing": true,
          "forcedJSONParsing": true,
          "clarifyTimeoutError": false
        },
        "adapter": [
          "xhr",
          "http",
          "fetch"
        ],
        "transformRequest": [
          null
        ],
        "transformResponse": [
          null
        ],
        "timeout": 0,
        "xsrfCookieName": "XSRF-TOKEN",
        "xsrfHeaderName": "X-XSRF-TOKEN",
        "maxContentLength": -1,
        "maxBodyLength": -1,
        "env": {},
        "headers": {
          "Accept": "application/json, text/plain, */*",
          "Content-Type": "application/json",
          "User-Agent": "axios/1.10.0",
          "Content-Length": "215",
          "Accept-Encoding": "gzip, compress, deflate, br"
        },
        "method": "post",
        "url": "https://api.cal.com/v1/bookings",
        "params": {
          "apiKey": "cal_live_06f04d1c1b9710e0b90cc90e739b17c8"
        },
        "data": "{\"eventTypeId\":117300,\"name\":\"test\",\"email\":\"foo@example.com\",\"start\":\"2025-07-07T12:45:00\",\"end\":\"2025-07-07T13:00:00\",\"language\":\"en\",\"timeZone\":\"America/Los_Angeles\",\"location\":\"\",\"customInputs\":[],\"metadata\":{}}",
        "allowAbsoluteUrls": true
      },
      "data": {
        "message": "no_available_users_found_error",
        "data": null
      }
    }
  },
  "os": [
    {
      "ts": 1751750043991,
      "k": "error",
      "err": {
        "name": "ConfigurationError",
        "exposeStack": false,
        "message": "Error: no_available_users_found_error. No users are available to be assigned to a booking at the specified time",
        "stack": "ConfigurationError: Error: no_available_users_found_error. No users are available to be assigned to a booking at the specified time\n    at Object.run (file:///tmp/__pdg__/dist/code/0f261c5d030b6514b86f80c795b5d3a88c2bb5c965e61162f6c684575777dda6/code/actions/create-booking/create-booking.mjs:88:13)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async file:///var/task/component_maker.mjs:166:11\n    at async captureObservations (/var/task/node_modules/@lambda-v2/component-runtime/src/captureObservations.js:28:5)\n    at async run (file:///var/task/component_maker.mjs:156:20)\n    at async MessagePort.<anonymous> (file:///var/task/component_maker.mjs:194:9)"
      }
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requestedtriagedFor maintainers: This issue has been triaged by a Pipedream employee

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions