resource_in_use
HTTP 409 · Resource in use
Other records still refer to this object (for example fuel logs that name this vendor), so it cannot be deleted.
What to do
Delete or reassign the records that refer to it first, or keep it (most objects have a status or is_active flag instead).
Do not retry automatically: the same request will fail the same way.
Example
{ "type": "https://developers.get-fleet.com/errors/resource_in_use", "title": "Resource in use", "status": 409, "code": "resource_in_use", "detail": "Other records still refer to this object (for example fuel logs that name this vendor), so it cannot be deleted.", "request_id": "req_7Hx2mQ9vLk3Pz8Rt1Ws4Yb6N"}