Hi APIM team,

I have tried migrating from APIM 1.8.0 to 1.9.0 following the document [1].

I have an API in 1.8.0 which has the uri-template as "/api*".  Before the
migration, I was able to invoke the API as usual.

After the migration, the API is no more accessible and I am getting the
following error in the REST client.

<ams:fault>
<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: /cm/v1.0, version: v1.0 with key:
a22da6e7f2b6498294391b1e289b6a. Check the API documentation and add a
proper REST resource path to the invocation URL</ams:description>
</ams:fault>

And the back end error was as follows.

[2015-12-09 13:59:06,198] ERROR - APIKeyValidator Could not find matching
resource for /api
[2015-12-09 13:59:06,199] ERROR - APIKeyValidator Could not find matching
resource for request
[2015-12-09 13:59:06,199]  WARN - APIAuthenticationHandler API
authentication failure due to No matching resource found in the API for the
given request

After analyzing further, we could find out that the APIM UI does not show
the "*" in the url-pattern (See the attached screen shot).
But in the synapse config file I could see the url-mapping="/api*" with the
"*".

I have tried adding the resources with the "*" manually and then I was able
to invoke the API successfully.

Also, I could ensure that nothing went wrong during the migration and the
migration has completed successfully without any issues.

Any help to solve this issue is appreciated.

[1] -
https://docs.wso2.com/display/AM190/Upgrading+from+the+Previous+Release

Thanks.

-- 
*Dinithi De Silva*
Associate Software Engineer, WSO2 Inc.
m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com
| a: #20, Palm Grove, Colombo 03
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to