What changed
Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.
Affects POST /accounts/{account_id}/ai-search/namespaces/{name}/instances/{id}/items.
Who is affected
Code that reads POST /accounts/{account_id}/ai-search/namespaces/{name}/instances/{id}/items (errors[].code).
Before and after
| Where | Before | After |
|---|---|---|
| POST /accounts/{account_id}/ai-search/namespaces/{name}/instances/{id}/items · errors[].code | present | absent |
| GET /accounts/{account_id}/ai-search/namespaces/{name}/instances/{id}/items/{item_id}/download · errors[].code | present | absent |
| DELETE /accounts/{account_id}/ai-search/namespaces/{name}/instances/{id}/items/{item_id} · errors[].code | present | absent |
Code that breaks
// response.errors[0].code is now undefined const code = response.errors[0].code;
Based on Cloudflare’s published API specification. How severity is decided.