Keyword Dictionaries have a hidden character limit on keyword size

%3CLINGO-SUB%20id%3D%22lingo-sub-2520557%22%20slang%3D%22en-US%22%3EKeyword%20Dictionaries%20have%20a%20hidden%20character%20limit%20on%20keyword%20size%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2520557%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20creating%20a%20keyword%20dictionary%20from%20the%20Microsoft%20365%20compliance%20center%20(Data%20Classification%20-%26gt%3B%20Sensitive%20info%20types%20-%26gt%3B%20Create%20sensitive%20info%20type%20-%26gt%3B%20Create%20pattern%20-%26gt%3B%20Add%20primary%20element%20-%26gt%3B%20Keyword%20dictionary)%2C%20any%20keyword%20in%20your%20dictionary%20which%20is%20longer%20than%20~500%20characters%20will%20trigger%20the%20page%20to%20hang%20for%20several%20minutes%2C%20and%20then%20give%20a%20generic%20error%20saying%20to%20try%20again%20later%20or%20contact%20support%20if%20the%20problem%20persists.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20extensive%20debugging%20over%20a%20call%20with%20support%2C%20I%20discovered%20that%20the%20real%20problem%20is%20the%20existence%20of%20any%20keyword%20over%20500%20characters%20long.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20isn't%20documented%20anywhere%20and%20there%20is%20no%20way%20for%20anyone%20to%20figure%20this%20out%20without%20manually%20debugging%20as%20I%20have%20done.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWould%20it%20be%20possible%20to%20create%20a%20new%20error%2C%20in%20this%20case%2C%20which%20explicitly%20tells%20the%20user%20that%20the%20keywords%20they've%20included%20are%20too%20long%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWithout%20such%20an%20error%2C%20there%20is%20no%20way%20that%20anyone%20would%20know%20what%20they're%20doing%20wrong.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2520557%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Edata%20classification%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ekeyword%20dictionary%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

When creating a keyword dictionary from the Microsoft 365 compliance center (Data Classification -> Sensitive info types -> Create sensitive info type -> Create pattern -> Add primary element -> Keyword dictionary), any keyword in your dictionary which is longer than ~500 characters will trigger the page to hang for several minutes, and then give a generic error saying to try again later or contact support if the problem persists.

 

After extensive debugging over a call with support, I discovered that the real problem is the existence of any keyword over 500 characters long.

 

This isn't documented anywhere and there is no way for anyone to figure this out without manually debugging as I have done.

 

Would it be possible to create a new error, in this case, which explicitly tells the user that the keywords they've included are too long?

 

Without such an error, there is no way that anyone would know what they're doing wrong.

0 Replies