I have created the data source succedssfully , but when I attempt to create the base view I get the following error.
Unable to obtain the data structure: com.denodo.util.exceptions.InternalErrorException: No content to map due to end-of-input
at [Source: (InputStreamReader); line: 1, column: 0]
The only expected output from this post call is the HTTP resonse code, and no other data, Here is the VQL of the data source.
CREATE OR REPLACE DATASOURCE JSON ds_optym_terminal_update_json_copy_john
FOLDER = '/1 - connectivity/1 - data sources'
ROUTE HTTP 'http.CommonsHttpClientConnection,120000' POST 'https://estes-uat.driverplan.io/messages/TerminalUpdate'
POSTBODY '\{
"changeType": "@{changeType}",
"terminal": \{
"terminalCode": "@{terminalCode}",
"terminalNumber": "@{terminalNumber}",
"city": "@{city}",
"type": "@{type}",
"state": "@{state}",
"country": "@{country}",
"latitude": "@{latitude}",
"longitude": "@{longitude}",
"timeZoneUTCOffset": "@{timeZoneUTCOffset}",
"region": "@{region}"
\}
\}'
MIME 'application/json'
HEADERS (
'token'='hidden'
)
AUTHENTICATION OFF
PROXY OFF;