[APIM 4.3.0] Issue with GET operation policies REST API
Description
Hi All,
We are unable to use the REST API call to retrieve all common operation policies with search conditions [1]. The search conditions are not functioning as expected as it documented in the following documentation.
[1]. https://apim.docs.wso2.com/en/latest/reference/product-apis/publisher-apis/publisher-v4/publisher-v4/#tag/Operation-Policies/operation/getAllCommonOperationPolicies
Steps to Reproduce
We tested this behavior as follows:
-
Postman:
We invoked the GET operation-policies with a search condition as follows:
-
Curl:
We invoked the GET operation-policies with a search condition as follows:
In both scenarios, we encountered the following error:
“Requested API policy with name 'addHeader' and version 'null' not found"
Affected Component
APIM
Version
4.3.0
Environment Details (with versions)
No response
Relevant Log Output
ERROR - GlobalThrowableMapper Couldn't retrieve an existing common policy with Name: addHeader and Version: null
Related Issues
No response
Suggested Labels
No response