API error type
Device unavailable
HTTP 409 https://errors.driftstack.dev/device-unavailable
What it means
The profile you launched is on a device that is not offered right now: it is on hold until the evidence behind it exists, or still in development. The device picker shows such devices but does not offer them, and GET /v1/archetypes does not list them. The launch was refused before any session existed, so nothing started and no concurrent-session slot was used. The body carries archetype (the profile’s device) and, when there is one, held_reason (the reason for the hold, in one plain sentence). The same type with code: "archetype_not_served" and retryable: true means no connected machine serves this device right now: a profile or session create on it was refused, and nothing was created. GET /v1/archetypes/availability shows such a device as available_now: false.
How to fix it
Launch a profile on a device listed by GET /v1/archetypes. A profile keeps its device, so create one on another device if you need to run now. With code: "archetype_not_served": pick another device, or try again in a minute (the same Idempotency-Key is safe to reuse, because nothing was created).
Where it appears
In the type field of the RFC 9457 application/problem+json error body, alongside title, status, detail, and an instance correlation id.
Related
- Conflict
/conflict - Profile already in use
/profile-in-use - Validation Failed
/validation-failed