1326 Cannot change dictionary specification after endKeys called
Cause
This error is raised by the dynamic dictionary addMemberKey or addExternalKey methods if these methods are called after the endKeys method has been called to end the definition of the keys for the dynamic dictionary.
Action
Change you application code to ensure that all keys are specified before calling endKeys, or start a new dynamic dictionary key specification by using the clearKeys method to clear any existing key specification.