Hello, I'm using Java Emitter, and there was an er...
# ingestion
g
Hello, I'm using Java Emitter, and there was an error when I filled in Chinese in Aspect information:[HTTP Status400] Parameters of method 'ingestProposal' failed validation with error 'ERROR :: /proposal/aspect/value :: \"{\"description\":\"你好19960916yshantest男\"}\" is not a valid string representation of bytes\n'\n\tat com.linkedin.restli.server.RestLiServiceException. But when I used Python Emitter, everything worked. I can convert Json from Chinese to Unicode with Ingest -c, but Java Emitter doesn't
m
Thanks for reporting this @gentle-country-27659, can you file an issue on github?
c
I have the same problem
m
@clean-nightfall-92007 yes this seems to be an encoding issue. Was an issue filed previously?
c
I just met you, too. I'll mention it
g
@mammoth-bear-12532 The problem has been solved, the reason is that I use java emitter in scala, java does not have this problem. So I adjusted my scala code