Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-12961

[Coach-Impact].FruitApp.Knowage.InvalidJsonMessage

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      • when i make a rest data set is telling me is not a valid json format and it is valid, i've validated it.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        52m 14s 1 Davide Zerbetto 21/Nov/17 7:03 AM
        In Progress In Progress Answered Answered
        6s 1 Davide Zerbetto 21/Nov/17 7:03 AM
        Answered Answered Closed Closed
        7d 8h 6m 1 Davide Zerbetto 28/Nov/17 3:09 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        HD-Enabler Knowage [ 11200 ] SpagoBI [ 10856 ]
        HD-Chapter Apps [ 10836 ]
        fla Fernando Lopez made changes -
        Comment [ Comment by jira-help-desk@jira.fiware.org :

        Spam detection software, running on the system "fiware-forge-01", has
        identified this incoming email as possible spam. The original message
        has been attached to this so you can view it (if it isn't spam) or label
        similar future email. If you have any questions, see
        the administrator of that system for details.

        Content preview: [ https://jira.fiware.org/browse/HELP-12961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
           ] FW External User updated HELP-12961: Attachment: [FIWARE-JIRA] (HELP-12961)
           [Fiware-general-help] [SPAM] [FIWARE-JIRA] (HELP-13082) [SPAM] Website Job
           Application [...]

        Content analysis details: (6.1 points, 4.5 required)

         pts rule name description
        ---- ---------------------- --------------------------------------------------
         1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist
                                    [URIs: latedeliver.com]
         2.5 URIBL_DBL_SPAM Contains a spam URL listed in the DBL blocklist
                                    [URIs: latedeliver.com]
         0.0 FSL_HELO_NON_FQDN_1 FSL_HELO_NON_FQDN_1
         3.8 HELO_LOCALHOST HELO_LOCALHOST
        -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
                                    [score: 0.0000]

        ]
        fla Fernando Lopez made changes -
        Comment [ Comment by jira-help-desk@jira.fiware.org :

        Spam detection software, running on the system "fiware-forge-01", has
        identified this incoming email as possible spam. The original message
        has been attached to this so you can view it (if it isn't spam) or label
        similar future email. If you have any questions, see
        the administrator of that system for details.

        Content preview: [ https://jira.fiware.org/browse/HELP-12961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
           ] FW External User updated HELP-12961: > [Fiware-general-help] [SPAM] [FIWARE-JIRA]
           (HELP-13082) [SPAM] Website Job Application > > > Key: HELP-12961 > URL:
          https://jira.fiware.org/browse/HELP-12961 > Project: Help-Desk > Issue Type:
           extRequest > Reporter: FW External User > Attachments: [FIWARE-JIRA] (HELP-12961)
           [Fiware-general-help] [SPAM] [FIWARE-JIRA] (HELP-13082) [SPAM] Website Job
           Application, [FIWARE-JIRA] (HELP-13082) [Fiware-general-help] [SPAM] Website
           Job Application > > > Spam detection software, running on the system "fiware-forge-01",
           has > identified this incoming email as possible spam. The original message
           > has been attached to this so you can view it (if it isn't spam) or label
           > similar future email. If you have any questions, see > the administrator
           of that system for details. > Content preview: [ https://jira.fiware.org/browse/HELP-13082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
           > ] FW External User updated HELP-13082: Attachment: [FIWARE-JIRA] (HELP-13082)
           > [Fiware-general-help] [SPAM] Website Job Application [...] > Content analysis
           details: (6.1 points, 4.5 required) > pts rule name description > ---- >
          1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist > [URIs: latedeliver.com]
           > 2.5 URIBL_DBL_SPAM Contains a spam URL listed in the DBL blocklist > [URIs:
           latedeliver.com] > 0.0 FSL_HELO_NON_FQDN_1 FSL_HELO_NON_FQDN_1 > 3.8 HELO_LOCALHOST
           HELO_LOCALHOST > -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% >
          [score: 0.0000] > > You can get more information about our cookies and privacy
           policies on the following links: > - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy
           > - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE
           > Fiware-general-help mailing list > [...]

        Content analysis details: (6.9 points, 4.5 required)

         pts rule name description
        ---- ---------------------- --------------------------------------------------
         1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist
                                    [URIs: latedeliver.com]
         2.5 URIBL_DBL_SPAM Contains a spam URL listed in the DBL blocklist
                                    [URIs: latedeliver.com]
         0.0 FSL_HELO_NON_FQDN_1 FSL_HELO_NON_FQDN_1
         3.8 HELO_LOCALHOST HELO_LOCALHOST
        -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
                                    [score: 0.0000]
         0.8 RDNS_NONE Delivered to internal network by a host with no rDNS

        ]
        fla Fernando Lopez made changes -
        Comment [ Comment by jira-help-desk@jira.fiware.org :

        Spam detection software, running on the system "fiware-forge-01", has
        identified this incoming email as possible spam. The original message
        has been attached to this so you can view it (if it isn't spam) or label
        similar future email. If you have any questions, see
        the administrator of that system for details.

        Content preview: [ https://jira.fiware.org/browse/HELP-12961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
           ] FW External User updated HELP-12961: Attachment: [FIWARE-JIRA] (HELP-12961)
           [Fiware-general-help] [SPAM] [FIWARE-JIRA] (HELP-13082) [SPAM] Website Job
           Application [...]

        Content analysis details: (6.9 points, 4.5 required)

         pts rule name description
        ---- ---------------------- --------------------------------------------------
         1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist
                                    [URIs: latedeliver.com]
         2.5 URIBL_DBL_SPAM Contains a spam URL listed in the DBL blocklist
                                    [URIs: latedeliver.com]
         0.0 FSL_HELO_NON_FQDN_1 FSL_HELO_NON_FQDN_1
         3.8 HELO_LOCALHOST HELO_LOCALHOST
        -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
                                    [score: 0.0000]
         0.8 RDNS_NONE Delivered to internal network by a host with no rDNS

        ]
        fla Fernando Lopez made changes -
        Comment [ Comment by jira-help-desk@jira.fiware.org :

        Spam detection software, running on the system "fiware-forge-01", has
        identified this incoming email as possible spam. The original message
        has been attached to this so you can view it (if it isn't spam) or label
        similar future email. If you have any questions, see
        the administrator of that system for details.

        Content preview: [ https://jira.fiware.org/browse/HELP-12961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
           ] FW External User updated HELP-12961: > [Fiware-general-help] [SPAM] [FIWARE-JIRA]
           (HELP-13082) [SPAM] Website Job Application > > > Key: HELP-12961 > URL:
          https://jira.fiware.org/browse/HELP-12961 > Project: Help-Desk > Issue Type:
           extRequest > Reporter: FW External User > Attachments: [FIWARE-JIRA] (HELP-13082)
           [Fiware-general-help] [SPAM] Website Job Application > > > Spam detection
           software, running on the system "fiware-forge-01", has > identified this
          incoming email as possible spam. The original message > has been attached
          to this so you can view it (if it isn't spam) or label > similar future email.
           If you have any questions, see > the administrator of that system for details.
           > Content preview: [ https://jira.fiware.org/browse/HELP-13082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
           > ] FW External User updated HELP-13082: Attachment: [FIWARE-JIRA] (HELP-13082)
           > [Fiware-general-help] [SPAM] Website Job Application [...] > Content analysis
           details: (6.1 points, 4.5 required) > pts rule name description > ---- >
          1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist > [URIs: latedeliver.com]
           > 2.5 URIBL_DBL_SPAM Contains a spam URL listed in the DBL blocklist > [URIs:
           latedeliver.com] > 0.0 FSL_HELO_NON_FQDN_1 FSL_HELO_NON_FQDN_1 > 3.8 HELO_LOCALHOST
           HELO_LOCALHOST > -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% >
          [score: 0.0000] > > You can get more information about our cookies and privacy
           policies on the following links: > - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy
           > - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE
           > Fiware-general-help mailing list > Fiware-general-help@lists.fiware.org
           > https://lists.fiware.org/listinfo/fiware-general-help > [Created via e-mail
           received [...]

        Content analysis details: (6.9 points, 4.5 required)

         pts rule name description
        ---- ---------------------- --------------------------------------------------
         1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist
                                    [URIs: latedeliver.com]
         2.5 URIBL_DBL_SPAM Contains a spam URL listed in the DBL blocklist
                                    [URIs: latedeliver.com]
         0.0 FSL_HELO_NON_FQDN_1 FSL_HELO_NON_FQDN_1
         3.8 HELO_LOCALHOST HELO_LOCALHOST
        -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
                                    [score: 0.0000]
         0.8 RDNS_NONE Delivered to internal network by a host with no rDNS

        ]
        fla Fernando Lopez made changes -
        Attachment [FIWARE-JIRA] (HELP-12961) [Fiware-general-help] [SPAM] [FIWARE-JIRA] (HELP-13082) [SPAM] Website Job Application [ 60895 ]
        fla Fernando Lopez made changes -
        Attachment [FIWARE-JIRA] (HELP-12961) [Fiware-general-help] [SPAM] [FIWARE-JIRA] (HELP-13082) [SPAM] Website Job Application [ 62057 ]
        fla Fernando Lopez made changes -
        Attachment [FIWARE-JIRA] (HELP-12961) [Fiware-general-help] [SPAM] [FIWARE-JIRA] (HELP-13082) [SPAM] Website Job Application [ 62060 ]
        fw.ext.user FW External User made changes -
        Attachment [FIWARE-JIRA] (HELP-12961) [Fiware-general-help] [SPAM] [FIWARE-JIRA] (HELP-13082) [SPAM] Website Job Application [ 62060 ]
        fw.ext.user FW External User made changes -
        Attachment [FIWARE-JIRA] (HELP-12961) [Fiware-general-help] [SPAM] [FIWARE-JIRA] (HELP-13082) [SPAM] Website Job Application [ 62057 ]
        fw.ext.user FW External User made changes -
        Attachment [FIWARE-JIRA] (HELP-12961) [Fiware-general-help] [SPAM] [FIWARE-JIRA] (HELP-13082) [SPAM] Website Job Application [ 60895 ]
        zerbetto Davide Zerbetto made changes -
        Summary [Coach-Impact].FruitApp.KnowAge.InvalidJsonMessage [Coach-Impact].FruitApp.Knowage.InvalidJsonMessage
        zerbetto Davide Zerbetto made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        zerbetto Davide Zerbetto made changes -
        Link This issue relates to APP-1622 [ APP-1622 ]
        Hide
        zerbetto Davide Zerbetto added a comment -

        The issue has been emailed:

        • Time sent: 28/Nov/17 3:08 PM
        • To: eslem@fruitsapp.com
        • with subject: RE: [Coach-Impact].FruitApp.KnowAge.InvalidJsonMessage

        Hi
        I created a bug issue for knowage:

        https://jira.fiware.org/browse/APP-1622

        (I think you are not allowed to see it).
        We will fix this bug by next release (i.e. December), and we will try to give you update packages asap.
        I close this issue.
        Best regards
        Davide

        Show
        zerbetto Davide Zerbetto added a comment - The issue has been emailed: Time sent: 28/Nov/17 3:08 PM To: eslem@fruitsapp.com with subject: RE: [Coach-Impact] .FruitApp.KnowAge.InvalidJsonMessage Hi I created a bug issue for knowage: https://jira.fiware.org/browse/APP-1622 (I think you are not allowed to see it). We will fix this bug by next release (i.e. December), and we will try to give you update packages asap. I close this issue. Best regards Davide
        Hide
        zerbetto Davide Zerbetto added a comment -

        The issue has been emailed:

        • Time sent: 23/Nov/17 11:26 AM
        • To: eslem@fruitsapp.com
        • with subject: RE: [Coach-Impact].FruitApp.KnowAge.InvalidJsonMessage

        Hi
        we are trying to find a solution in a way you don't need to modify your services.
        I'll let you know asap.
        regards
        Davide

        Show
        zerbetto Davide Zerbetto added a comment - The issue has been emailed: Time sent: 23/Nov/17 11:26 AM To: eslem@fruitsapp.com with subject: RE: [Coach-Impact] .FruitApp.KnowAge.InvalidJsonMessage Hi we are trying to find a solution in a way you don't need to modify your services. I'll let you know asap. regards Davide
        Hide
        fw.ext.user FW External User added a comment -

        Comment by eslem@fruitsapp.com :

        Hi

        is this the only way that can work? i have the server in production and i cannot make right now custom routes just to test if this will work, the string is a valid json and to make that  change means redeploy the server.

        Regards.

        -

        Show
        fw.ext.user FW External User added a comment - Comment by eslem@fruitsapp.com : Hi is this the only way that can work? i have the server in production and i cannot make right now custom routes just to test if this will work, the string is a valid json and to make that  change means redeploy the server. Regards. -
        Hide
        zerbetto Davide Zerbetto added a comment -

        The issue has been emailed:

        • Time sent: 22/Nov/17 2:50 PM
        • To: eslem@fruitsapp.com
        • with subject: RE: [Coach-Impact].FruitApp.KnowAge.InvalidJsonMessage

        Hi
        could you please try modifying the REST service in a way that it returns a JSON Object instead of a JSON Array?
        You can embed the current output like this:

        { items: <JSON Array> }

        Please let me know.
        Best regards
        Davide

        Show
        zerbetto Davide Zerbetto added a comment - The issue has been emailed: Time sent: 22/Nov/17 2:50 PM To: eslem@fruitsapp.com with subject: RE: [Coach-Impact] .FruitApp.KnowAge.InvalidJsonMessage Hi could you please try modifying the REST service in a way that it returns a JSON Object instead of a JSON Array? You can embed the current output like this: { items: <JSON Array> } Please let me know. Best regards Davide
        Hide
        fw.ext.user FW External User added a comment -

        Comment by eslem@fruitsapp.com :

        Hi,

        sure, i've validated with jsonlint:

         
        [

        {"name":"MF BRASIL TRADING","role":"Seller","date":"2017-11-21T11:37:19.003Z","verified":true,"emailVerified":true,"premium":false,"recommended":false,"vat":"+55 19 97406-9646","country":"Brazil","city":"Limeira ","province":"Sao Paulo","pc":"13481219","address":"Rua Maria Ap Pequim Rossi, 76","phone":"","webpage":"","lang":"es","intraComunitarian":false,"interes":["MANGO","LIMA","MANGO HADEN","NARANJA","MANGO TOMMY ATKINS","PAPAYA","MELÓN AMARILLO","MANGO KEITH","AGUACATE","CACAHUETE"],"email":"gcbrasilgrupo@gmail.com","id":"5a140fefebcffe576513a5a1","date_name":"date"}

        ,{"name":"Aquino Export SL","role":"Trader","date":"2017-11-21T10:45:28.345Z","verified":true,"emailVerified":true,"premium":false,"recommended":false,"vat":"ES-B12887022","country":"Spain","city":"Villarreal","province":"Castello","pc":"12540","address":"Cami Carretera, 42","phone":"628113094","webpage":"Www.aquinoexport.com","location":

        {"lat":39.9311942,"lng":-0.1135457}

        ,"lang":"es","intraComunitarian":false,"email":"aritzkerman@aquinoexport.com","id":"5a1403c8ebcffe576513a404","date_name":"date"}]

         Regards.
        Eslem Alzate
        -

        Show
        fw.ext.user FW External User added a comment - Comment by eslem@fruitsapp.com : Hi, sure, i've validated with jsonlint:   [ {"name":"MF BRASIL TRADING","role":"Seller","date":"2017-11-21T11:37:19.003Z","verified":true,"emailVerified":true,"premium":false,"recommended":false,"vat":"+55 19 97406-9646","country":"Brazil","city":"Limeira ","province":"Sao Paulo","pc":"13481219","address":"Rua Maria Ap Pequim Rossi, 76","phone":"","webpage":"","lang":"es","intraComunitarian":false,"interes":["MANGO","LIMA","MANGO HADEN","NARANJA","MANGO TOMMY ATKINS","PAPAYA","MELÓN AMARILLO","MANGO KEITH","AGUACATE","CACAHUETE"],"email":"gcbrasilgrupo@gmail.com","id":"5a140fefebcffe576513a5a1","date_name":"date"} ,{"name":"Aquino Export SL","role":"Trader","date":"2017-11-21T10:45:28.345Z","verified":true,"emailVerified":true,"premium":false,"recommended":false,"vat":"ES-B12887022","country":"Spain","city":"Villarreal","province":"Castello","pc":"12540","address":"Cami Carretera, 42","phone":"628113094","webpage":"Www.aquinoexport.com","location": {"lat":39.9311942,"lng":-0.1135457} ,"lang":"es","intraComunitarian":false,"email":"aritzkerman@aquinoexport.com","id":"5a1403c8ebcffe576513a404","date_name":"date"}]  Regards. Eslem Alzate -
        zerbetto Davide Zerbetto made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        zerbetto Davide Zerbetto made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        zerbetto Davide Zerbetto added a comment -

        The issue has been emailed:

        • Time sent: 21/Nov/17 7:03 AM
        • To: eslem@fruitsapp.com
        • with subject: RE: [Coach-Impact].FruitApp.KnowAge.InvalidJsonMessage

        Hi
        in order to reproduce the error, could you please send us an example of JSON response as returned by your service?
        Best regards
        Davide

        Show
        zerbetto Davide Zerbetto added a comment - The issue has been emailed: Time sent: 21/Nov/17 7:03 AM To: eslem@fruitsapp.com with subject: RE: [Coach-Impact] .FruitApp.KnowAge.InvalidJsonMessage Hi in order to reproduce the error, could you please send us an example of JSON response as returned by your service? Best regards Davide
        arigliano Francesco Arigliano made changes -
        Field Original Value New Value
        Assignee Francesco Arigliano [ arigliano ] Davide Zerbetto [ davide.zerbetto ]
        arigliano Francesco Arigliano created issue -

          People

          • Assignee:
            zerbetto Davide Zerbetto
            Reporter:
            arigliano Francesco Arigliano
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: