Cause
This error occurs if the concatenated length of all the keys that are defined for a dictionary exceeds 512 units (units are bytes, except in Unicode string and character types, where units are Unicode characters).
Action
Remove keys or reduce their lengths until the total key length is 512 units or fewer.