cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Unable to perform POST from SAP Build Apps.

anmolbhatia003
Participant
908

Hi Experts,

I am facing error while performing  a POST request form SAP build apps to SAP Hana DB. The service was created using a CAPM project in SAP BTP.

Service works correctly using a postman. GET, POST, PATCH is working.

 

Below is  error "msg":"400 > /n code: '400",In message: 'Property I"@odata.type\" does not exist in Asp•••••••••••••.Asp●●●●●●●●"In)","type":"log"]

 

However, not from build apps.

 

Accepted Solutions (1)

Accepted Solutions (1)

anmolbhatia003
Participant
0 Kudos

Thanks @miroll , the blog contains the answer

This works code below inside in your package.json

"cds": {
  "features":{
     "odata_new_adapter": false
  }
}

 

Answers (0)