1 Answer
- Newest
- Most votes
- Most comments
0
I'm reasonably sure the key value store simply does a hashtable/dictionary lookup of whatever string literal it's passed and won't care what characters it contains. The announcement blog for the key value store had practically the exact same example as yours, with "key1" mapped to "val1" and "key2" to "val2": https://aws.amazon.com/blogs/aws/introducing-amazon-cloudfront-keyvaluestore-a-low-latency-datastore-for-cloudfront-functions/
I suggest you start by checking with the CLI or the console what you actually have in the key value store and, for example, that there aren't empty spaces where they don't belong. And of course, note that it takes some time for updates to the store to replicate to edge locations.
Relevant content
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 10 months ago