Skip to Content
avatar image
Former Member

$batch returns 202

Can someone tell me how to override the standard $batch functionality so I can return the error code of what fails rather than the usual 202, as the client of the $batch service expects errors to be reported as 4xx/5xx and cannot inspect the body to get at the failure

Thanks

Luke

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Apr 04, 2016 at 08:01 AM

    Hi Luke,

    In case of an error, from the backend are you raising an exception of type /IWBEP/CX_MGW_BUSI_EXCEPTION for business exceptions or /IWBEP/CX_MGW_TECH_EXCEPTION for technical exceptions?

    Regards,

    Harish R

    Add comment
    10|10000 characters needed characters exceeded