I would like to know how the language of the error message is determined.
When locale of the admin user is Japanese, the error message of REST API from the same agent comes in various languages, sometimes Japanese language, sometimes English, Portuguese, Korean.