Need a special offer?Find out if your project fits.
+

Custom datasource API - ERROR - invalid SELECT requests with drillAll option

Answered
Tomas Vrsek asked on August 11, 2022

Hello,
we have found a error in custom datasource API implementation.
The SELECT request body contains duplicated JSON object so it's formally invalid JSON.
{ "type": "select",
"index": "DO81", .....}{ "type": "select",
"index": "DO81", ....}
 
There is slice definition and SELECT request received by our backend in the attachement.
The same slice definition without drillAll option works fine and generates valid requests for our backend.
 
 
 

1 answer

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster August 12, 2022

Hello, Tomas,

Thank you for reaching out to us.

We couldn't reproduce the described behavior. You are welcome to check the following JSFiddle: https://jsfiddle.net/flexmonster/nautpLhv/ . In the Network tab of your browser developer tools, you can see that there's only one JSON object. 
If you still face this problem, please edit the sample above to show us this issue.

Looking forward to your response.

Kind regards,
Nadia

Please login or Register to Submit Answer