-
Notifications
You must be signed in to change notification settings - Fork 19
Description
APIM-CLI version
1.14.10
API-Management version
7.7.20230830
Bug description
Hi axway support!
When running apim cli to create or modify apis with quota, I get the error "Can't update Quota-Configuration in API-Manager".
For some reason, a quota with the name "undefined" is being created in the environment, generating an error in other updates.
In order to continue the process, it is necessary to manually delete this improperly created value in the console.
2025-05-03T12:55:28.0910976Z �[m�[m2025-05-03 09:55:27,774 [APIManagerAPIAdapter] DEBUG: No existing API found based on filter: []
2025-05-03T12:55:28.0913297Z �[m�[34m2025-05-03 09:55:27,775 [RollbackHandler] INFO : Rolled back: [Frontend-API: false, Backend-API: true]
2025-05-03T12:55:28.0915612Z �[m�[1;31m2025-05-03 09:55:27,775 [APIImportApp] ERROR: Can't update Quota-Configuration in API-Manager.
2025-05-03T12:55:28.0918396Z | Can't update API-Manager Quota-Configuration. Response: '"errors":["code":102,"message":"API not found"]'
2025-05-03T12:55:28.0920810Z com.axway.apim.lib.error.AppException: Can't update Quota-Configuration in API-Manager.
2025-05-03T12:55:28.0923915Z at com.axway.apim.adapter.apis.APIManagerQuotaAdapter.saveQuota(APIManagerQuotaAdapter.java:173)
2025-05-03T12:55:28.0926911Z at com.axway.apim.apiimport.actions.APIQuotaManager.updateRestrictions(APIQuotaManager.java:84)
2025-05-03T12:55:28.0929262Z at com.axway.apim.apiimport.actions.APIQuotaManager.execute(APIQuotaManager.java:51)
2025-05-03T12:55:28.0931478Z at com.axway.apim.apiimport.actions.CreateNewAPI.execute(CreateNewAPI.java:102)
2025-05-03T12:55:28.0933652Z at com.axway.apim.apiimport.APIImportManager.applyChanges(APIImportManager.java:47)
2025-05-03T12:55:28.0935780Z at com.axway.apim.APIImportApp.importAPI(APIImportApp.java:130)
2025-05-03T12:55:28.0937803Z at com.axway.apim.APIImportApp.importAPI(APIImportApp.java:57)
2025-05-03T12:55:28.0939938Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2025-05-03T12:55:28.0942301Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2025-05-03T12:55:28.0945069Z at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-05-03T12:55:28.0947303Z at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-05-03T12:55:28.0949307Z at com.axway.apim.cli.APIManagerCLI.run(APIManagerCLI.java:133)
2025-05-03T12:55:28.0957412Z at com.axway.apim.cli.APIManagerCLI.main(APIManagerCLI.java:72)
2025-05-03T12:55:28.0959994Z Caused by: com.axway.apim.lib.error.AppException: Can't update API-Manager Quota-Configuration. Response: '"errors":["code":102,"message":"API not found"]'
2025-05-03T12:55:28.0962667Z at com.axway.apim.adapter.apis.APIManagerQuotaAdapter.saveQuota(APIManagerQuotaAdapter.java:161)
Thanks.
Steps to reproduce
No response