The ThoughtSpot server returns a field use_browser_language in the User JSON response, but this field is not defined in the User model's allowed properties set. This causes User.validateJsonElement() to throw an IllegalArgumentException, breaking all user-related API calls.
The field use_browser_language is:
❌ Not defined in the Java SDK User model (docs/User.md)
❌ Not documented in the REST API v2 Playground
✅ Present in the actual server response SDK Version
Tested on both 2.20.0 and 2.21.0 — field is missing in both.
// build.gradle.kts
implementation("com.thoughtspot:rest-api-sdk:2.20.0")
I have raised a issue here -
https://github.com/thoughtspot/rest-api-sdk/issues/371