Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APIM 4.3.0] Issue with GET operation policies REST API #3039

Closed
Hamool-Nizar opened this issue Aug 2, 2024 · 0 comments · Fixed by wso2/carbon-apimgt#12520
Closed

[APIM 4.3.0] Issue with GET operation policies REST API #3039

Hamool-Nizar opened this issue Aug 2, 2024 · 0 comments · Fixed by wso2/carbon-apimgt#12520

Comments

@Hamool-Nizar
Copy link

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:

  1. Postman:

    We invoked the GET operation-policies with a search condition as follows:
    image

  2. Curl:

    We invoked the GET operation-policies with a search condition as follows:
    image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants