Driftwatch

Cloudflare / Cloudflare API /

Breaking

Response field errors removed

What changed

Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

Affects GET /accounts/{account_id}/images/v1/keys.

Who is affected

Code that reads GET /accounts/{account_id}/images/v1/keys (errors).

Before and after

WhereBeforeAfter
GET /accounts/{account_id}/images/v1/keys · errorspresentabsent
PUT /accounts/{account_id}/images/v1/keys/{signing_key_name} · errorspresentabsent
GET /accounts/{account_id}/images/v1/stats · errorspresentabsent
GET /accounts/{account_id}/images/v1 · errorspresentabsent
POST /accounts/{account_id}/images/v1 · errorspresentabsent
POST /accounts/{account_id}/images/v1/direct_upload · errorspresentabsent
DELETE /accounts/{account_id}/images/v1/keys/{signing_key_name} · errorspresentabsent
GET /accounts/{account_id}/images/v1/variants · errorspresentabsent
POST /accounts/{account_id}/images/v1/variants · errorspresentabsent
GET /accounts/{account_id}/images/v1/variants/{variant_id} · errorspresentabsent
DELETE /accounts/{account_id}/images/v1/variants/{variant_id} · errorspresentabsent
PATCH /accounts/{account_id}/images/v1/variants/{variant_id} · errorspresentabsent
GET /accounts/{account_id}/images/v1/variants/{variant_id}/flat · errorspresentabsent
GET /accounts/{account_id}/images/v1/{image_id} · errorspresentabsent
DELETE /accounts/{account_id}/images/v1/{image_id} · errorspresentabsent
PATCH /accounts/{account_id}/images/v1/{image_id} · errorspresentabsent
GET /accounts/{account_id}/images/v1/{image_id}/blob · errorspresentabsent
POST /accounts/{account_id}/images/v2/direct_upload · errorspresentabsent
GET /accounts/{account_id}/images/v2/sourcingkit/migrations · errorspresentabsent
POST /accounts/{account_id}/images/v2/sourcingkit/migrations · errorspresentabsent
GET /accounts/{account_id}/images/v2/sourcingkit/migrations/{migration_id} · errorspresentabsent
DELETE /accounts/{account_id}/images/v2/sourcingkit/migrations/{migration_id} · errorspresentabsent
GET /accounts/{account_id}/images/v2/sourcingkit/migrations/{migration_id}/lifecycle · errorspresentabsent
GET /accounts/{account_id}/images/v2/sourcingkit/migrations/{migration_id}/logs · errorspresentabsent
GET /accounts/{account_id}/images/v2/sourcingkit/sources · errorspresentabsent
POST /accounts/{account_id}/images/v2/sourcingkit/sources · errorspresentabsent
POST /accounts/{account_id}/images/v2/sourcingkit/sources/connectivity-precheck · errorspresentabsent
GET /accounts/{account_id}/images/v2/sourcingkit/sources/{source_id} · errorspresentabsent
DELETE /accounts/{account_id}/images/v2/sourcingkit/sources/{source_id} · errorspresentabsent
PATCH /accounts/{account_id}/images/v2/sourcingkit/sources/{source_id} · errorspresentabsent
GET /accounts/{account_id}/images/v2/sourcingkit/sources/{source_id}/connectivity · errorspresentabsent

Code that breaks

// response.errors is now undefined
const errors = response.errors;

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