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
Recently calls to the endpoint to write multiple key-value pairs to a KV Store started failing with the error message: error decoding response body: invalid type: map, expected unit at line 2 column 12.
I tried to replicate the same call I was doing through the library with Postman, and the response is a success. I dug in the Cloudflare documentation and I think there was an update that broke the deserialization of the response.
Recently calls to the endpoint to write multiple key-value pairs to a KV Store started failing with the error message:
error decoding response body: invalid type: map, expected unit at line 2 column 12
.I tried to replicate the same call I was doing through the library with Postman, and the response is a success. I dug in the Cloudflare documentation and I think there was an update that broke the deserialization of the response.
See the current version of the docs: https://developers.cloudflare.com/api/operations/workers-kv-namespace-write-multiple-key-value-pairs.
And the old one: https://web.archive.org/web/20240527181949/https://developers.cloudflare.com/api/operations/workers-kv-namespace-write-multiple-key-value-pairs.
Steps to reproduce:
Cloudflare response body:
For additional context: I'm currently on the v0.11.0 version of the library.
The text was updated successfully, but these errors were encountered: