Driftwatch

Box / Box Platform API /

Breakingdirection flip: their tools call this safe

status can now return "error"

What changed

Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

Affects status on SignRequest reachable from 4 operations.

New value: error.

can now return "error"

Who is affected

Code that reads Box's SignRequest objects, used by 4 Box operations.

Before and after

WhereBeforeAfter
SignRequest.status"cancelled", "converting", "created", "declined", "error_converting", "error_finalizing", "error_sending", "expired", "finalizing", "sent", "signed", "viewed""cancelled", "converting", "created", "declined", "error", "error_converting", "error_finalizing", "error_sending", "expired", "finalizing", "sent", "signed", "viewed"

Code that breaks

switch (response.status) {
  // existing branches …
  // no branch for "error"
  default:
    throw new Error("unexpected status");
}

Based on Box’s published API specification. How severity is decided.