We created a carbon app with an API that has multiple versions. We observed that '404' errors occur when invoking APIs whose versions are defined after enabling the configuration mentioned in documentation [1].
After adding the configurations mentioned above [1], we encountered an issue where invoking API endpoints for versions other than v1 results in a 404 error, while version v1 works correctly. Disabling the configuration resolves the issue and allows all versions to function as expected.
The above behaviour can also be seen when the APIs are created as follows,
Description
We created a carbon app with an API that has multiple versions. We observed that '404' errors occur when invoking APIs whose versions are defined after enabling the configuration mentioned in documentation [1].
[1] https://apim.docs.wso2.com/en/4.2.0/observe/micro-integrator/setting-up-cloud-native-observability-on-a-vm/#step-14-set-up-the-micro-integratorthe
Steps to Reproduce
We have created a Carbon application with APIs in multiple versions (v1, v2, and a default version).
After adding the configurations mentioned above [1], we encountered an issue where invoking API endpoints for versions other than v1 results in a 404 error, while version v1 works correctly. Disabling the configuration resolves the issue and allows all versions to function as expected.
The above behaviour can also be seen when the APIs are created as follows,
Affected Version(s)
wso2mi-4.2.0
OS, DB, other environment details and versions
No response
Related issue(s) (optional)
https://github.com/wso2/micro-integrator/issues/3082
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response