Hello!
I’m wondering if something has recently changed re: the rules around KV Store name policy and the ability to use dashes? In the screenshots below you can see the documentation says that dashes are OK:
KV store names have a maximum length of 255 characters and can contain letters, numbers, dashes (-), underscores (_), and periods (.)
but when attempting to create a new KV Store with name asfas-asdfasd
(or whatever uses a dash - character) I’m seeing an error telling me:
Store name can only contain alphanumeric, underscore, and whitespace characters.
This isn’t a huge deal in itself, but we’ve built some tooling that (for better or worse!) use a convention over configuration when looking for a particular KV Store programmatically, and those names happen to include -
characters.
Again not a huge deal it’s just this is deployed in a bunch of places so coordinating changes across different environments is needed to make this change.
Sorry if this there is an obvious answer to this or I’m just missing something / doing something dumb (very possible!), but thanks for any help!
Apparently I can’t post more than one image as a new user, so here is the other relevant interface / screenshot that shows the validation error:
This might be a UI bug @shoelessone, not an intentional product change. I’ll track it down.
Hi,
This was a recent change requested by product, but unfortunately was deployed prematurely - causing this bug. Here is the JIRA ticket: [PXENG-5535] - Jira
I’ve reverted the UI changes, so you should be able to create a KV store name that includes dashes now. Please let me know if there are anymore problems.
I apologize for the misunderstanding!
1 Like
Thank you very much @gabriellaarcilla and @aspires , very much appreciate the help and confirming what I was seeing 
Just to make sure I understand, is this (disallowing -
character) a change that is planned sometime in the future? Again typically it’s not a huge deal to make a change like this, but because I have some automation scripting helping to provision new Fastly setup and a code base that depends on the existance of certain KV Stores across accounts, it’d be handy to know if this is something I should account for (obviously in general it would be a good idea to be able to adapt to changing of things like names, but the name is being used as part of a convention across accounts currently!).
Thanks again!
I’m not aware of any specific changes like that on the horizon. If there were, we’d need to treat them as potentially breaking changes (to your exact point) and communicate them broadly and early.