When creating the base view of a new JSON resource I get this error:
Unable to obtain the data structure: com.denodo.util.exceptions.InternalErrorException: Unexpected character ('' (code 173)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at [Source: java.io.InputStreamReader@236b2a92; line: 1, column: 2]
![Alternative image shows different unexpected character](https://i.imgur.com/RJNSFTx.png)
I tried with Postman to see if there is a problem with the request and there doesn't seem to be an issue.
So I assume there is something wrong with the autodetection of the charset in Denodo, something which the browsers and Postman don't have an issue with.
I tried fixing the encoding on UTF-8 and and I got the same error but different character.
com.denodo.util.exceptions.InternalErrorException: Unexpected character ('�' (code 65533 / 0xfffd)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
How could I detect the encoding when it is not provided by the server in the response body, also unclear if the encoding can be forced via the Accept header.