error code 600 retrieving from a datalink server

5 posts, 0 answers
  1. jmillar
    jmillar avatar
    33 posts
    Member since:
    Oct 2006

    Posted 28 Oct 2015 Link to this post

    Hi all;

     We're using a datalink server as a quick way to expose data.  I have the following data source defined:

    var kiPMDataSource = new kendo.data.DataSource({
        type: "everlive",
        transport: {
            typeName: "KI"
        },
        schema: {
            model: {
                id: "Id"
            }
        },
        serverSorting: true,
        sort: {
            field: "Id",
            dir: "asc"
        },
        serverFiltering: true,
        filter: {
            logic: 'and',
            filters: [
                {field: 'Id',operator: 'eq',value: new Date('October 28 2015')},
                {field: 'report_group',operator: 'eq',value: 'PM'}
            ]
        }
    });

    However when I launch app in AppBuilder, using the debugger, I can see the read request for this datasource yields a Status 400/Bad Response.  The Request looks like:

    Accept:application/json, text/javascript, */*; q=0.01
    User-Agent:Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A537a Safari/419.3
    X-Everlive-Filter:{"Id":"2015-10-28T04:00:00.000Z","report_group":"PM"}
    X-Everlive-Sort:{"Id":1}

    ​The response I get back is:

    {"message":"Data Link Server Error: Filter cannot have multiple or no children.","errorCode":660}

     Thanks,

    Jason 

  2. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 29 Oct 2015 Link to this post

    Hello Jason,

    Indeed, this filter is supported in types from a Data Connector.

    I do apologize if this is causing any inconvenience, but perhaps the issue would be fixed with updating the Data Link server installation on your premises.

    A link to the download and the documentation for the update procedure are available here.

    I hope that this helps. Let us know should you have any further questions.

    Regards,
    Anton Dobrev
    Telerik
     
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
     
  3. jmillar
    jmillar avatar
    33 posts
    Member since:
    Oct 2006

    Posted 29 Oct 2015 in reply to Anton Dobrev Link to this post

    Hi Anton;

    I replaced the existing folder with the new DataLink server download.  Now my data link server isn't returning anything.  

     Thanks,

    Jason

  4. jmillar
    jmillar avatar
    33 posts
    Member since:
    Oct 2006

    Posted 30 Oct 2015 in reply to jmillar Link to this post

    Hi Anton;

     A few more details -- it seems that the new datalink server is responding OK when I run it from a command prompt.  However, we had been running it as a Windows service.  The Windows service fails to stay running -- I have tried removing and reinstalling the service entry, but it's still the same behaviour.

     

    Thanks,

    Jason

  5. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 03 Nov 2015 Link to this post

    Hi Jason,

    Let's keep the discussion in your private support ticket.

    Thank you.

    Regards,
    Anton Dobrev
    Telerik
     
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
     
Back to Top