Running API-Manager Promote version 1.5.2-1 ... 0 INFO App| ------------------------------------------------------------------------ 0 INFO App| API-Manager Promote Version: 1.5.2-1 0 INFO App| 0 INFO App| To report issues or get help, please visit: 0 INFO App| https://github.com/Axway-API-Management-Plus/apimanager-swagger-promote 0 INFO App| ------------------------------------------------------------------------ 10 INFO nvironmentProperties| Loaded environment properties from file: env.properties. 782 INFO APIManagerAdapter| API-Manager version is: 7.7.0 919 INFO IImportConfigAdapter| Reading API-Definition (Swagger/WSDL) from file: '/opt/axway/pythonscripts/conf/apicreatejson/TESTMinimumStayCategory06Rules_transformed.json' (relative path) 921 INFO IImportConfigAdapter| Handling configured client-applications. 1027 INFO IImportConfigAdapter| Found existing application: 'ATP_ATP_Apps' based on given name 'ATP_ATP_Apps' 1027 INFO IImportConfigAdapter| Found existing application: 'X91_91_App' based on given name 'X91_91_App' 1140 INFO APIManagerAdapter| Found existing API on path: '/services/test/v1/rules/record3/cat6' (published) (ID: '49fd7057-d2ed-4dcb-ae12-ae7b55fe95e9') 2924 INFO APIDefintion| Detected API-Definition-Filesizes: API-Manager: 4725 vs. Import: 4726 2924 INFO APIChangeState| Changed property: APIDefinition[Desired: 'com.axway.apim.swagger.api.properties.APIDefintion@5fe94a96' vs Actual: 'com.axway.apim.swagger.api.properties.APIDefintion@443118b0'] 2938 INFO APIChangeState| Changed property: clientOrganizations[Desired: '[ATP_ATP_Org, X91_91_Org, API Development]' vs Actual: '[ATP_CUS_Org, API Development, ATP_ATP_Org, X91_91_Org]'] 2938 INFO APIChangeState| Changed property: applications[Desired: '[[ATP_ATP_Apps], [X91_91_App]]' vs Actual: '[[X91_91_App], [ATP_CUS_App], [ATP_ATP_Apps]]'] 2938 INFO APIChangeState| Changed property: image[Desired: 'APIImage [bytes=9654]' vs Actual: 'null'] 2938 INFO APIChangeState| Changed property: applicationQuota[Desired: 'APIQuota [id=null, type=APPLICATION, restrictions=[QuotaRestriction [api=null, method=*, type=throttlemb, config={period=hour, per=1, mb=50}]]]' vs Actual: 'APIQuota [id=null, type=APPLICATION, restrictions=[QuotaRestriction [api=49fd7057-d2ed-4dcb-ae12-ae7b55fe95e9, method=*, type=throttlemb, config={period=hour, per=1, mb=500}]]]'] 2938 INFO APIChangeState| Changed property: systemQuota[Desired: 'APIQuota [id=null, type=SYSTEM, restrictions=[QuotaRestriction [api=null, method=*, type=throttle, config={messages=100, period=minutes, per=30}]]]' vs Actual: 'APIQuota [id=null, type=SYSTEM, restrictions=[QuotaRestriction [api=49fd7057-d2ed-4dcb-ae12-ae7b55fe95e9, method=*, type=throttle, config={messages=100, period=minutes, per=35}]]]'] 2938 INFO APIManagerAdapter| Strategy: Going to update existing API: TEST Minimum Stay (Category 06) Rules (Version: 1.0) 2939 INFO APIManagerAdapter| Recognized the following changes. Potentially Breaking: [APIDefinition] plus Non-Breaking: [clientOrganizations, applications, image, applicationQuota, systemQuota] 2939 INFO APIManagerAdapter| Strategy: Apply breaking changes: [APIDefinition] & and Non-Breaking: [clientOrganizations, applications, image, applicationQuota, systemQuota], for PUBLISHED API. Recreating it! 2940 INFO APIManagerAdapter| Importing backend API (Swagger/WSDL Import) 3521 INFO APIManagerAdapter| Create API-Proxy (Front-End API) 5632 INFO APIManagerAdapter| Updating proxy for the following properties: descriptionType descriptionMarkdown securityProfiles tags outboundProfiles path name 5667 INFO APIManagerAdapter| Updating API-Image from: /opt/axway/apiimages/basefareicon.png 5709 INFO APIManagerAdapter| Updating API-Status from: 'unpublished' to 'published' 5739 INFO APIManagerAdapter| Actual API state set to: published 5740 INFO APIManagerAdapter| Updating System-Default-Quota for API: TEST Minimum Stay (Category 06) Rules 6006 INFO APIManagerAdapter| System-Default quota successfully updated for API: TEST Minimum Stay (Category 06) Rules 6006 INFO APIManagerAdapter| Updating Application-Default-Quota for API: TEST Minimum Stay (Category 06) Rules 6073 INFO APIManagerAdapter| Application-Default quota successfully updated: TEST Minimum Stay (Category 06) Rules 6100 INFO APIManagerAdapter| Granted permission to organization: '[ATP_ATP_Org, X91_91_Org]' 6101 INFO APIManagerAdapter| Creating API-Access for the following apps: '[[X91_91_App], [ATP_CUS_App], [ATP_ATP_Apps]]' 6131 ERROR APIManagerAdapter| Received status code: 400 6131 ERROR APIManagerAdapter| Received response: {"errors":[{"code":102,"message":"API not approved/enabled for organization"}]} 6132 ERROR RestAPICall| Response: 'HTTP/1.1 400 Bad Request' 6132 ERROR App| Can't create API access requests. com.axway.apim.lib.AppException: Can't create API access requests. at com.axway.apim.actions.tasks.ManageClientApps.createAppSubscription(ManageClientApps.java:117) at com.axway.apim.actions.tasks.ManageClientApps.execute(ManageClientApps.java:68) at com.axway.apim.actions.CreateNewAPI.execute(CreateNewAPI.java:73) at com.axway.apim.actions.RecreateToUpdateAPI.execute(RecreateToUpdateAPI.java:37) at com.axway.apim.swagger.APIManagerAdapter.applyChanges(APIManagerAdapter.java:161) at com.axway.apim.App.run(App.java:160) at com.axway.apim.App.main(App.java:42)