I checked for you and the both key and namespace have to be at least 3 characters long.
I agree we should publish those limits in the documentation. We are planning to do a big overhaul of the API documentation, and I'll make sure these kind of details will be part of that.