[Amazon CloudSearch] [*Deprecated*: Use the outer message field] Validation error for field 'xxx': Invalid codepoint 1C
When importing JSON data as search terms in Amazon CloudSearch, some of the data generated the following error and couldn’t be imported.
Error Message
[*Deprecated*: Use the outer message field] Validation error for field 'title_ja': Invalid codepoint 1C
The problematic character was u001c, and by removing it, I was able to successfully load the JSON data.
This was a value saved to the database from form input, but I wonder how this character got in there…?
・AWS Developer Forums: Which codepoints are disallowed in text …
・Scalaで正規表現: ユニコードの空白文字29種類にマッチするか試してみた - Qiita
That’s all from the Gemba.