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

Import common policy gives error in APICTL 4.4.0-beta in Windows #3313

Open
YasasRangika opened this issue Oct 28, 2024 · 0 comments
Open

Import common policy gives error in APICTL 4.4.0-beta in Windows #3313

YasasRangika opened this issue Oct 28, 2024 · 0 comments

Comments

@YasasRangika
Copy link

Description

As mentioned in the doc[1], when importing a common policy into a new environment, the following error occurs:

PS C:\Users\WSO2\Documents\ctlTest\ctl\apictl> .\apictl.exe import policy api -f testEnv1/Test_v1.zip -e testEnv2
apictl: Policy Directory name and policy files are not consistent Reason: Test.j2 should be equivalent to the policy name C:\Users\WSO2\AppData\Local\Temp\apim3375471245\Test
Exit status 1

But when manually checking the files mentioned in the error, there were no name differences.

Steps to Reproduce

[1] https://apim.docs.wso2.com/en/latest/install-and-setup/setup/api-controller/managing-common-api-policies/migrating-common-api-policies-to-different-environments/

Affected Component

APICTL

Version

4.4.0-beta

Environment Details (with versions)

Windows 11

Relevant Log Output

No response

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

No branches or pull requests

1 participant