Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Date format error occurs when using an XML mapping for a service



Date format error occurs when using an XML mapping for a service.

Error Messages

where receiving "REST service [claimsAPI][v1][WRKITMAUDIT] failed: Invalid datetime format/Invalid datetime "Date" while writing a date value.

Steps to Reproduce

Invoke @FormatDateTime function in a Data Transform.

Root Cause

Incorrect date time format was provided in the out-of-the-box function. Since this is a out-of-the-box function, the format should always be in small letters.


Perform the following local-change:

Use ddmmyyhhmmss instead of using DDMMYYHHMMMSS to specify the format in FormatDateTime function.

Published March 17, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us