Skip to Content

Custom Errorhandling JSON REST SENDER Adapter

Hi,

I want to implement a custom errorhandling in my Rest Sender Adapter and couldn't find any solution to my problem.

I have the following requirement:


The Rest Adapter (Method Get) is called synchroniously. With an ICO I am getting data from ECC. In the Response payload there are either data from ecc or empty JSON Expressions. What i want to achive is, that if i have an empty Expression eg. PARTNER_ID, I want to respond with eg. HTTP Code 404.

With this Settings its not working.

my Json Looks like this:

{"MT_SELMA_OUTPUT": {
"PARTNER_ID": "" }}

Thank you for your help.

Greetings

Enrico

8zpos.png (5.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 18 at 08:06 AM

    Do this Issue resolved?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.