While passing chinese character in URI for GET method, i am getting "request not allowed"

while passing chinese character in URI for GET method, i am getting “request not allowed”.

The chinese character getting corrupt and i can see the error in log is below.

org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception: Not valid UTF8! incomplete UTF8 sequence
could you please help!

@manishmailinfo Welcome to the community :partying_face:

I haven’t come across the scenario you have mentioned, can you please explain in detail how are you trying to achieve this? So that it might be useful for the community members to answer or help in your query. For asking better queries in the forum please read this post.

Just by doing a quick search I found this related post, please check if this helps :blush: May be encoding can help like mentioned in that post.

i have developed a REST API which GET API.

The format is http://localhost/api/gettaskvariableprofile/埋点测试

here i am sending chinese character, but some how it is corrupting and it becomes like
http://localhost/api/gettaskvariableprofile/˹K%D

and i get the error in POSTMAN like “Request Not Allowed” and in log i am getting error like org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception: Not valid UTF8! incomplete UTF8 sequence

let me know for any other info.