Explain reason for key rejection.

Closes #16284
Merge pull request #16980 from cachedout/issue_16284

Explain reason for key rejection.