Error in the Amazon NLP language detection plugin

Tsurapan
Level 1
Error in the Amazon NLP language detection plugin

Hi Team, 

I am using the amazon NLP language detection plugin in one of the projects and I ran into this error "

An error occurred (TextSizeLimitExceededException) when calling the BatchDetectDominantLanguage operation: Input text size exceeds limit. Max length of request text allowed is 5000 bytes while in this request the text size is 5027 bytes

But the original length of the row in the column was only 983 and even below 1000. 

Can you please let me know on how I can overcome this issue ? This error is not to all rows but only to specific few are of very short length and few are of medium but definitely not exceeding the length of 5000. but it is showing the text exceed limit. 

 

Thank you !

0 Kudos
0 Replies