KB Article #179967

"No match for request" error from API Manager when the Content-Type of the request does not match the MIME type declared by the API Method

Problem

You receive a "No match for request" error from API Manager when the Content-Type of the request does not match the MIME type declared by the API Method.

Resolution

This is expected behavior since the RDAPI-14042 fix in 7.5.3 SP8. There is a java property that can be added to jvm.xml to re-enable the legacy behavior if needed as shown below:


<VMArg name="-Dcom.coreapireg.apimethod.contenttype.legacy=true" />


Note: Due to a bug, the parameter only works properly on 7.5.3 SP11 or later in the 7.5.3 branch.