fleet/website/api/controllers/android-proxy
Eric 274abc6cb0
Website: update android proxy error handling (#40140)
Related to: https://github.com/fleetdm/fleet/issues/40127

Changes:
- Updated errors logged by Android proxy endpoints to include more
information about the error.
- Added a `deviceNoLongerManaged` exit to the `delete-android-device`
endpoint that is used when the Google API returns a "Device is no longer
being managed" error.
- Added a `policyNotFound` exit to the `modify-android-policies` and
`modify-enterprise-app-policy` endpoints that is used when the Google
API returns a 404 response
- Added a `invalidPolicyName` exit to the `modify-android-device`
endpoint that is used when the Google API returns an error related to
the policy name sent in the request body.
2026-02-19 17:46:41 -06:00
..
create-android-enrollment-token.js Website: update android proxy error handling (#40140) 2026-02-19 17:46:41 -06:00
create-android-enterprise.js Website: Add API rate limit alert to Android proxy endpoints (#35637) 2025-11-12 15:37:21 -06:00
create-android-signup-url.js Website: update android proxy error handling (#40140) 2026-02-19 17:46:41 -06:00
delete-android-device.js Website: update android proxy error handling (#40140) 2026-02-19 17:46:41 -06:00
delete-one-android-enterprise.js Website: update android proxy error handling (#40140) 2026-02-19 17:46:41 -06:00
get-android-device.js Website: update android proxy error handling (#40140) 2026-02-19 17:46:41 -06:00
get-android-devices.js Website: update android proxy error handling (#40140) 2026-02-19 17:46:41 -06:00
get-android-enterprises.js Website: Add API rate limit alert to Android proxy endpoints (#35637) 2025-11-12 15:37:21 -06:00
get-enterprise-applications.js Website: return 404 if Android enterprise application is not found (#39935) 2026-02-16 15:14:29 -05:00
modify-android-device.js Website: update android proxy error handling (#40140) 2026-02-19 17:46:41 -06:00
modify-android-policies.js Website: update android proxy error handling (#40140) 2026-02-19 17:46:41 -06:00
modify-enterprise-app-policy.js Website: update android proxy error handling (#40140) 2026-02-19 17:46:41 -06:00