Workers KV API "key not found"

Hello I do a request to this url:
https://api.cloudflare.com/client/v4/accounts/xxxxxx/storage/kv/namespaces/xxxxxx/keys

And get this:
{
“result”: [
{
“name”: “https://URL/r/?quality=0.8&fit=contain&width=500&height=400&image=https://DOMAIN/photos/photo-1.jpg
},
{
“name”: “https://URL/r/?quality=0.8&fit=contain&width=500&height=400&image=https://DOMAIN/photos/photo-2.jpg
},

]

Then I try to access an individual key using this URL:

https://api.cloudflare.com/client/v4/accounts/xxxxx/storage/kv/namespaces/xxxx/values/https://URL/r/?quality=0.8&fit=contain&width=500&height=400&image=https://DOMAIN/photos/photo-2.jpg

And get this error:
{
“result”: null,
“success”: false,
“errors”: [
{
“code”: 10009,
“message”: “get: ‘key not found’”
}
],
“messages”:
}

Any idea what is going on?

I had to encode the URL, sorry for the inconvenience