Posts

Showing posts from November, 2022

WSO2 APIM- apictl import error and error in publishing the api

Image
Hi everyone!  Let me share another troubleshooting experience with WSO2 API Manager.  Environment: RHEL8.3 WSO2 APIM Version: 3.2.0.x Tools: apictl (API Controller) Problem I have tried importing an API from one environment to the other via apictl. This API contains a custom sequence as well. However, the apictl api-import command returned the HTTP 500 error with following message Response: {"code":500,"message":"Internal server error", "description":"Error while importing API","moreInfo":"","error":[]} Further, WSO2 carbon logs shows the below error message- [2022-12-28 15:19:29,139] ERROR - APIUtil Issue is in accessing the Registry [2022-12-28 15:19:29,140] ERROR - APIMappingUtil Error occurred while getting the uuid of the mediation sequence org.wso2.carbon.apimgt.api.APIManagementException: Issue is in accessing the Registry         at org.wso2.carbon.apimgt.impl.utils.APIUtil.getMediationPolicyAttribu...

WSO2 APIM - No matching resources found for newly added resources in api

Image
Hi All, let me share another experience of WSO2 APIM with you all. Environment- WSO2 APIMv3.2.x, MSSQL, OpenShift Problem Statement Recently I have added 3 new resources to an existing API having 10 resources.. I re-deployed the API and tried testing the same via developer portal but the gateway responded with No Matching Resources error; though the resources are present and hence it was shown in the devportal. Below is the error message-  <ams:fault xmlns:ams="http://wso2.org/apimanager/security">     <ams:code>900906</ams:code>     <ams:message>No matching resource found in the API for the given request</ams:message>     <ams:description>Access failure for API: /reports/v1.0.0, version: v1.0.0 status: (900906) - No matching resource found in the API for the given request. Check the API documentation and add a proper REST resource path to the invocation URL</ams:description> </ams:fault> Root Cause This ...