Log Entry: Expected a Name But Was END_OBJECT at Line 3 Column 4
HTTP status code: 500 (Internal Server Error)
BPM error code: INVALID_DATA
Reason
The message body that is sent with the request contains a JSON object. JSON objects usually contain multiple name/value pairs. If the object does not contain any name/value pair, it could be treated as empty. The OData protocol requires at least one name/value pair in the JSON object. Empty JSON objects are not allowed in the OData protocol and thus the BPM OData service returns the mentioned error response.
The following example uses an empty JSON object:
{
"Customer":{
}
}
Solution
To correct this problem, add at least one valid name/value pair to the JSON object, which is sent to the service.
Corrected example:
{
"Customer":{
"id": 42
}
}