External services · rule
test.recording_undecodable
Recorded provider answer its operation's decoders don't read.
Area 11, External services; 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.
/// A booked collection.public type Booking = Object { id: Text status: Status}
{ "data": { "id": "{Text}", "status": "lost" }}
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 1test failed: 1 failed, 1 recording test
Markdown for agents: /docs/errors/test.recording_undecodable.md.Built from Jadpo main at a707efb.