If content-type is application/json, and there is a field (String) with empty values in the request body, the response comes back with a blank value but for content-type application/xml, the response comes back incorrectly with a value=true.

Steps to Reproduce


  1. Open Rest Explorer and select Create a record (POST).
    For more information, see the documentation topic Getting started with REST API.
  2. Select a suitable import set table that has a target table in transform map.
  3. Set the Request and Response format as application/xml.
  4. Select any number of fields builder, but keep one or two fields blank.
  5. Send the request.
  6. Check the import set table entry.
    The fields containing blank values are populated with true.



Use one of the following workarounds:

  • Omit the value from the request body
  • Set the value to NULL, must be in uppercase
  • Use application/json

Related Problem: PRB810678

Seen In

Berlin Patch 6

Intended Fix Version


Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-01-23 07:38:23