# `test.recording_undecodable`

Recorded provider answer its operation's decoders don't read.

Area 11, [External services](../topics/external-services.md); not declinable; the next step is usually the agent's.

A recording the operation's output type, or one of the package's own
decoders, doesn't read: here the provider sent a status the package's
`Status` doesn't have.







```jadpo
/// A booked collection.
public type Booking = Object {
    id: Text
    status: Status
}
```

```jadpo
{
  "data": {
    "id": "{Text}",
    "status": "lost"
  }
}
```

```text
FAIL  bookings.create's recording decodes
 --> shared/providers/acme_couriers/v1/recordings/bookings.create.json:1

  decode: `bookings.create`'s recording doesn't decode: `variant` on `status`
  reason: Every decoder decodes every recorded answer: the operation's output type, or a decoder of its own, refuses what the provider sent here, so a real answer like it would fault the call.
  next: Correct the type or its decoder against the recording and the provider's documentation (agent)

  rule: test.recording_undecodable
  rerun: jadpo test shared/providers/acme_couriers/v1/recordings/bookings.create.json:1 --seed 1

test failed: 1 failed, 1 recording test
```
