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
Request clarification before answering.
Configuration was changed in the backend which was blocking the batch call. On changing the configuration is was resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Team,
What is the use of C Co-deployed only, Routing-based, I Inherited in Odata Services.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.