$ERR_INVPKEY

341

Invalid partial key

A key was read or written that didn’t include all or part of the key. Integer and decimal keys cannot be partially read or written, but they can be entirely suppressed. Autokeys must be read or written in their entirety, and they cannot be suppressed.

When one of the new autokeys gets read or written, their read or write buffer needs to include at least enough to encompass all defined autokeys (which incidentally are integer types under the hood.) The difference here being their buffer length needs to entirely include an autokey, unlike integer and decimal which is ok if it doesn’t include any of the key. They both don’t allow buffer length to end in the middle of these keys.