Discussions

Ask a Question
Back to All

Shifts silently omitted from /schedulers/{schedulerId}/shifts ?

We’ve encountered a serious issue with the /schedulers/{schedulerId}/shifts endpoint that caused two shifts to be omitted from our billing pipeline. These shifts are real, assigned, published, and retrievable by ID — but they are not returned in the shift listing route. They do appear in the UI.

Affected Shift 1:
Connecteam ShiftID: 67e1872e1880658448c28d22
ctUserId : 1036608
ctJobId : 63c3d182-069f-4dcf-bf06-4f95d4dc9a29
Date: March 16, 2025

Affected Shift 2:
Connecteam ShiftID: 67bcd6136ac41b0460cc9561
ctUserId : 1036608
ctJobId : 63c3d182-069f-4dcf-bf06-4f95d4dc9a29
Date: March 9, 2025

These shifts recur on Sundays, and the previous year's worth of shifts, and Sundays occurring after, are not affected by this problem.

Here's what I'm seeing: The /schedulers/{scheduleId}/{shiftId} route gives me the shift

GET https://api.connecteam.com/scheduler/v1/schedulers/456884/67e1872e3fd43ff8471afde2

{
  "data": {
    "id": "67e1872e3fd43ff8471afde2",
    "assignedUserIds": [1036608],
    "startTime": 1741539600,
    "endTime": 1741554000,
    "timezone": "America/Los_Angeles",
    "title": "Solo",
    "jobId": "63c3d182-069f-4dcf-bf06-4f95d4dc9a29",
    "isPublished": true,
    "isOpenShift": false,
    "statuses": [],
    "shiftDetails": { "shiftLayers": [] }
  }
}

The call to /schedulers/{scheduleId}/shifts does NOT return that shift (two other shifts returned here, but not the listed one)

GET https://api.connecteam.com/scheduler/v1/schedulers/456884/shifts?startTime=1741539599&endTime=1741539601&order=asc&limit=10&offset=0

{
  "requestId": "cb764888-d998-404b-b94b-528cf7eb97a4",
  "data": {
    "shifts": [
      {
        "id": "67bcd6136ac41b0460cc9561",
        "color": "#4E3F75",
        "assignedUserIds": [
          2546340
        ],
        "startTime": 1741539600,
        "endTime": 1741546800,
        "timezone": "America/Los_Angeles",
        "isOpenShift": false,
        "title": "TECH",
        "jobId": "d58dc54f-c84c-f19f-a25e-20c19cbaf9ad",
        "locationData": {
          "isReferencedToJob": false,
          "gps": {
            "address": "Ocean Prime Las Vegas, South Las Vegas Boulevard, Las Vegas, NV, USA",
            "longitude": -115.1742969,
            "latitude": 36.10894589999999
          }
        },
        "isPublished": true,
        "isRequireAdminApproval": false,
        "updateTime": 1740455526,
        "creationTime": 1740428819,
        "notes": [
          {
            "type": "html",
            "html": "<div>ocean prime soundcheck/ strike unused gear</div>"
          }
        ],
        "statuses": [
          {
            "statusId": "114c6647-ad9e-4381-b9dd-0ea48adfdc73",
            "status": "accepted",
            "creationTime": 1740455526,
            "updateTime": 1740455526,
            "creatingUserId": 2546340,
            "modifyingUserId": 2546340
          }
        ],
        "breaks": [],
        "shiftDetails": {
          "shiftLayers": []
        }
      },
      {
        "id": "67e1872e3fd43ff8471afde2",
        "color": "",
        "assignedUserIds": [
          1036608
        ],
        "startTime": 1741539600,
        "endTime": 1741554000,
        "timezone": "America/Los_Angeles",
        "isOpenShift": false,
        "title": "Solo",
        "jobId": "63c3d182-069f-4dcf-bf06-4f95d4dc9a29",
        "locationData": {
          "isReferencedToJob": true,
          "gps": {
            "address": "252 Convention Center Dr, Las Vegas, NV 89109, USA",
            "longitude": -115.160825,
            "latitude": 36.1326287
          }
        },
        "isPublished": true,
        "isRequireAdminApproval": false,
        "updateTime": 1742833502,
        "creationTime": 1742833454,
        "notes": [],
        "statuses": [],
        "breaks": [],
        "shiftDetails": {
          "shiftLayers": []
        }
      }
    ]
  },
  "paging": {
    "offset": 2
  }
}

These shifts recur weekly and have been fetched normally before and after the affected dates

The issue caused a silent failure in our automated billing system, which only surfaced after a manual audit

Interestingly, the shift does appear as a line-item in the Schedule-Export.xlsx but the 'Job' column does not appear. Here it is as a CSV, alongside other shifts where Job appears.

Date,Start,End,Availability status,Shift title,Job,Users,Location,Note,Note has attachments,Draft,Unpaid Breaks,Paid Breaks,Last Status,Tasks,Check In,Check In Note,Check In GPS,Complete,Complete Note,Complete GPS
03/08/2025,02:00pm,05:00pm,,Dueling Pianos,Harrah's Late Piano Bar,David Mauk,"3475 Las Vegas Blvd S, Las Vegas, NV 89109, USA",,No,No,,,accept,,,,,,,
03/08/2025,08:30am,11:00am,,TECH,Ocean Prime (Tech),Kade Pringle,"Ocean Prime Las Vegas, South Las Vegas Boulevard, Las Vegas, NV, USA",Take the box truckocean prime set up,No,No,,,,,,,,,,
03/08/2025,10:00am,02:00pm,,Solo,,David Decosta,"252 Convention Center Dr, Las Vegas, NV 89109, USA",,No,Yes,,,,,,,,,,
03/08/2025,11:00am,02:00pm,,Duo,Ole Red Las Vegas,Downtown Avenue Anderson,"3627 S Las Vegas Blvd, Las Vegas, NV, USA",,No,No,,,accept,,,,,,,
03/08/2025,11:00am,03:00pm,,Solo,Ocean Prime,HB (D-Roc) Woods,"Ocean Prime Las Vegas, South Las Vegas Boulevard, Las Vegas, NV, USA",,No,No,,,accept,,,,,,,
03/08/2025,12:00pm,05:00pm,,Emcee,2025.03.08 Durango - Emcee,Brett Rigby,"Durango Casino & Resort, South Durango Drive, Las Vegas, NV, USA","Durango Station on Sat Mar 08.Total Pay: $850Genre: EmceeEvent Type: Private (non wedding)Event Address: Durango Station, 6915 S. Durango Dr , Las Vegas, NV 89148Name of Room at Location: Durango Table Games High LimitDress Code: CorporateDay-of Contact: Misty Bucao (702) 567-7618PA Provided By: VenueFull Schedule:Arrival: 11:30amShowtime: 12pm-5pm",No,No,,,accept,,,,,,,

Request:

  1. Can you confirm whether this is a known issue, or if something changed around March 2025 in the shift indexing logic?
  2. Is there any attribute or edge case that would cause a shift to be present by ID (and appear in the UI) but missing from the list route?
  3. Can you help us check whether other shifts may have been similarly affected?

Thank you!