SAP Knowledge Base Article - Public

2656754 - Error "Illegal JSON boolean-value format" while upserting boolean property field via OData

Symptom

  •  The upsertable field does not get updated after an upsert done via ODATA.
  •  Illegal JSON boolean-value format error while upserting.

Environment

SuccessFactors.

Reproducing the Issue

  1. Go to Admin Center
  2. Search for an employee that has one field to update, we will update the field OkToRehire from "no" to "yes", this property OkToRehire is part of entity EmpEmploymentTermination.2018-06-13_14-56-29.png
  3. Build the Query to update the field.

query.png

Cause

The value we are providing is "true", this a String value.

Resolution

We need to provide just true without quotes, a boolean value that satisfy the field according to the handbook.

queryright.png

Keywords

Error Upsert boolean, error boolean, error query boolean, query boolean, Illegal JSON boolean-value format. , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , SF Integrations - EC Payroll, Boomi/ HCI, API , Problem

Product

SAP SuccessFactors HCM Core all versions