library · inferred from evidence
customerio-node
A Node.js library for interacting with the Customer.io API.
- customerio-node getCustomersByEmail returns 400 Bad Request (query params dropped)
Calling `getCustomersByEmail("an email address")` in customerio-node returns `400 Bad Request` even with a valid email. Inspection shows the query parameters are dropped: the SDK issues `GET /v1/customers` instead of `GET /v1/customers?emai
- customerio-node: ERR_INVALID_ARG_TYPE: The listener argument must be of type Function on track()
Following the customerio-node docs for event tracking in Node.js, `new TrackClient(siteId, apiKey, { region: RegionUS })` then `await trackClient.track(userId, { name, data })` throws `[ERR_INVALID_ARG_TYPE]: The "listener" argument must be
- customerio-node TypeError: url_1.URL is not a constructor in Next.js
In a Next.js 14 project, calling `getCustomersByEmail(email)` on the `APIClient` from customerio-node throws `Unhandled Runtime Error. TypeError: url_1.URL is not a constructor`. The same call works in a plain Node server. The client was in