cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CAP Java: Why is property with many ComplexType not optional?

frank_albrecht
Product and Topic Expert
Product and Topic Expert
0 Kudos
351

I defined a complex type with many... see below

entity Tasks.TaskResponses {
key ID : UUID;
content: many Context;
...}  

When I try to create an entity without content property in the request body,  I get an error: "code":"400008","message":"Could not deserialize request payload: The parameter 'content' must not be null."}
How can I make the content property optional?
Thanks

Accepted Solutions (0)

Answers (0)