cancel
Showing results for 
Search instead for 
Did you mean: 

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

10-03-2019 4:37 PM
RameshShrestha Contributor
10522 views 6 comments Go to solution
SAP Managed Tags
Subscribe

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

Accepted Solutions (1)

Accepted Solutions (1)

RameshShrestha
Contributor
0 Likes

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

poluvamsee
Explorer
0 Likes

What was the configuration to check

Answers (2)

Answers (2)

former_member278239
Discoverer
0 Likes

Dear Team,

What is the use of C Co-deployed only, Routing-based, I Inherited in Odata Services.

Regards

RameshShrestha
Contributor
0 Likes

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