add trace for "common keys" error

@yilongli please review

Please also consider places where a well placed trace frame in code you write in the future will make it easier for K users to develop.