Skip to content

Website: 5XX on /api/android/v1/enterprises/<redacted>/devices/<redacted>?alt=json&prettyPrint=false` #40127

@BCTBB

Description

@BCTBB

Fleet version: 4.76.1

Web browser and operating system: N/A


💥  Actual behavior

A 5XX alert was triggered to help-p1 or a failure on /api/android/v1/enterprises/<redacted>/devices/<redacted>?alt=json&prettyPrint=false

Error:

error: Sending 500 ("Server Error") response:
 Error: request to https://oauth2.googleapis.com/token failed, reason:
    at Gaxios._request (/app/node_modules/gaxios/build/cjs/src/gaxios.js:165:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
<- GET /api/android/v1/enterprises/<redacted>/devices/<redacted>  (1374ms 500)
 |  error
 °

🛠️ To fix

This could be legitimately treated as a 500 or it could need to be modified to a 4XX. Unfortunately, the error that we logged does not give any indication on why the request failed. Additional logs around the failure might be best here.

🧑‍💻  Steps to reproduce

🕯️ More info (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    #g-websiteProduct group: Website (fleetdm.com)~help-p1For oncall tickets, P1

    Type

    No type

    Projects

    Status

    🍳 Needs follow-up

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions