IBM Support

Passing date values that include time zone specifications in REST API queries for IBM Business Process Manager (BPM) returns an error

Troubleshooting


Problem

When you include a date value that includes time zone-specific formatting in a REST API query, a non-200 response code is seen.

Symptom

For example: 0000-00-00T01:02:03+09:00 specifies a local time zone format. The REST API does not accept this type of input.

If you enable trace, you might see the following trace statements if an invalid date format is supplied in the request:
[3/6/13 17:04:37:650 EST] 000000f5 DateUtils     1   Invalid value in time
[3/6/13 17:04:37:885 EST] 000000f5 DateUtils     1   Error converting twClass value to date: com.ibm.bpm.wle.api.InvalidDateException: CWTBG0546E: Invalid date received '0000-00-00T01:02:03 09:00', date has to be in ISO-8601 format 'yyyy-MM-dd'T'HH:mm:ssz'

[{"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"REST API","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"8.0.1;8.0;7.5.1;7.5","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSFTBX","label":"IBM Business Process Manager Express"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"REST API","Platform":[{"code":"PF016","label":"Linux"},{"code":"","label":"Linux zSeries"},{"code":"PF033","label":"Windows"}],"Version":"8.0.1;8.0;7.5.1;7.5","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"REST API","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"","label":"Linux zSeries"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.0.1;8.0;7.5.1;7.5","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
28 April 2025

UID

swg21638920