You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Workers KV REST API bulk operations provide granular errors
10
+
description: |-
11
+
12
+
The REST API endpoints for bulk operations ([write](/api/operations/workers-kv-namespace-write-multiple-key-value-pairs), [delete](workers-kv-namespace-delete-multiple-key-value-pairs)) now return the keys of operations that failed during the bulk operation. The updated response bodies are documented in the [REST API documentation](/api/operations/workers-kv-namespace-list-namespaces) and contain the following information:
13
+
14
+
```
15
+
{
16
+
"successful_key_count": number,
17
+
"unsuccessful_keys": string[]
18
+
}
19
+
```
20
+
21
+
The unsuccessful keys are an array of the keys that have unsuccessfully been written to all storage backends of Workers KV and should be retried.
0 commit comments