Skip to Content

oData service batch call gives "statusCode : 500, Error when processing resource"

I am trying to consume the oData Service by binding Table with oDataModel which fetch data and its count using $batch.

This will give me error

saying "Error when processing resource".

If I disable batch call by setUseBatch to false the odata will start working.

Since it was directly consuming data from CDS views and it was working earlier, there is no implementation issue.

I doubt some configuration is missing which is disabling the batch call and preventing it from reaching the Gateway server itself as there is no error shown in Error log as well.

With Regards,

Ramesh Shrestha

Add a comment
10|10000 characters needed characters exceeded

  • Hi Ramesh, Hi Andree

    I'm facing a similar issue. We have an Odata service which is running fine in batch mode, even in production, since years.

    Now I try migrate the eclipse based UI5 application to WEB IDE full stack using master-detail template of webide.

    And I'm getting the same error you have described, also no hints in the error log. Other Z-Odata services work fine with webide in batch mode.

    Did you solve your problem and could give me a hint what is the cause?



  • have you checked the error log on the SAP Fiori Frontend Server and the SAP Backend?



    There you might find hints what went wrong when processing your $batch request.



Related questions

2 Answers

  • Best Answer
    Posted on Jul 11, 2020 at 08:27 AM

    Configuration was changed in the backend which was blocking the batch call. On changing the configuration is was resolved.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 04, 2019 at 05:15 AM

    Thanks Andre for your response,

    I have checked both, and there is no error there. I doubt the batch call even reached the gateway service method. I kept breakpoint at the Init method of service which did not trigger. The service was working fine before some migration changes done.

    With Regards,

    Ramesh Shrestha

    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.