My Oracle Support Banner

When Performing An UpdateBPRecord REST Call On A Busines Process (BP) Record With A Trailing Space In the Record Number the REST Call Is Failing (Doc ID 2851999.1)

Last updated on MARCH 01, 2022

Applies to:

Primavera Unifier Cloud Service - Version 20.12.11.0 to 21.12.1.0 [Release 20.12 to 21.12]
Primavera Unifier - Version 20.12.11.0 to 21.12.1.0 [Release 20.12 to 21.12]
Information in this document applies to any platform.

Symptoms

When attempting to perform an "UpdateBPRecord" REST call (/ws/rest/service/v1/bp/record/{project_number} with method PUT) the following error is being returned to the REST client. However, when performing a GET to retrieve the BP record data the record number with the space is returned as expected.|

Record Number examples:
"record_no":"00001 ",
"record_no":"001 ",
"record_no":"002 ",
"record_no":"003 ",

The reason for the extra space is that the records were pulled into Unifier via integration from another product.


ERROR
-----------------------
"Invalid Record No."
"status": 3000


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

  1. Send REST API call "UpdateBPRecord" to update an existing BP Record.
  2. The error noted above is displayed by the REST client and the record is not updated.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.