Forum Discussion

anilv's avatar
anilv
New Contributor II
6 years ago

HTTP Code: 500 Status: Prepare failed Errors

Hi all,

We are facing Error "500 Status: Prepare failed Errors"while creating some Netsuite application,below is the screenshot,please help me on this issue.

Thanks,
Anil

3 Replies

  • bojanvelevski's avatar
    bojanvelevski
    Valued Contributor

    Hi @maisie_wang ,

    Use a mapper, and map your incoming path up until “@wd:ID”. Than use the following expression:

    $…wd:ID.filter(x=>x.get(‘@wd:type’) != ‘WID’)

    Regards,
    Bojan

  • Supratim's avatar
    Supratim
    Contributor III

    Hi @maisie_wang , from this image it’s difficult to replicate the value but you can add one mapper and
    drag and drop till wd:ID and then put ?(value[‘@wd:type’] == 'Compensation_Element_ID) inside that wd:ID[here]. If you still face issue please share the json.

    jsonPath($, “$till Compensation_Reference.wd:ID [?(value[‘@wd:type’] == 'Compensation_Element_ID)]”)

  • winosky's avatar
    winosky
    New Contributor III

    Hi @maisie_wang, a json parser snap and the filter path parameter in the snap might do the trick.