Skip to content

[REOPENED] - POST /api/latest/fleet/trigger?name=cleanups_then_aggregation comes back with 401 status (Unauthorized) #29001

@qa-wolf

Description

@qa-wolf

Steps to reproduce:

  1. Log in as fleet+GlobalAdmin3@qawolf.email (https://mailto:fleet+GlobalAdmin3@qawolf.email)
  2. Navigate to Ducks team
  3. Make an API call to:https://qawolf-premium.cloud.fleetdm.com/api/latest/fleet/trigger?name=cleanups_then_aggregation
  4. Observe status
    Expected: Status should return as 200
    Actual: Getting a 401 response
    Response {
    status: 401,
    statusText: 'Unauthorized',
    headers: Headers { date: 'Fri, 09 May 2025 16:09:10 GMT', 'content-type': 'text/plain; charset=utf-8', 'content-length': '188', connection: 'keep-alive' },
    body: ReadableStream { locked: false, state: 'errored', supportsBYOB: true },
    bodyUsed: false,
    ok: false,
    redirected: false,
    type: 'basic',
    url: 'https://qawolf-premium.cloud.fleetdm.com/api/latest/fleet/trigger?name=cleanups_then_aggregation (https://qawolf-premium.cloud.fleetdm.com/api/latest/fleet/trigger?name=cleanups_then_aggregation)' }
    Video:
    https://www.loom.com/share/5db5918907c24e05a9e979a0069b53a9 (https://www.loom.com/share/5db5918907c24e05a9e979a0069b53a9)

Metadata

Metadata

Assignees

No one assigned

    Labels

    #g-orchestrationOrchestration product group:reproduceInvolves documenting reproduction steps in the issuebugSomething isn't working as documented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions