Workitem query api change response from 500 to 400 (preview API)

Description

Currently, calling the Workitem query API (currently in preview status) with an empty workbinId or assigneeId filter throws a generic 500 error.

After the change, this request will throw a 400 response with a message attribute containing detailed information about the problem.

Change Category

API

Change Context

The generic 500 response did not give much information about the problem.

Change Impact

This change will affect requests that miss the correct use of the query filter. Refer to the documentation to avoid this error.

Date of Change

Apr 26, 2023

Impacted APIs

/api/v2/taskmanagement/workitems/query

References

[WORKITEMS-1471]

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.