When making an HTTP request using the reactivefeign library, I encounter a 500 Server Error with the root cause being java.lang.IllegalArgumentException: No substitution in url for:id. This occurs even though I am providing the id for the URL template substitution.
Additional context
The application works correctly locally, which suggests there might be a configuration or environmental difference on OpenShift causing the issue. I've verified the proper passing of the id in both environments. Any insights on potential OpenShift-specific configurations or quirks would be appreciated.
I expected the external service to receive the request with the URL having the provided id substituted in place of {id}, and to get a successful response.
I received a 500 Server Error with a stack trace pointing to java.lang.IllegalArgumentException: No substitution in url for:id, suggesting that the id wasn't substituted in the URL. This behavior is inconsistent with my local environment where the application works without any issues.
2023/09/27 13:51:46 ERROR [reactor-http-epoll-4] org.springframework.boot.autoconfigure.web.reactive.error.AbstractErrorWebExceptionHandler - [b3250c05-18] 500 Server Error for HTTP POST "/halo/issue-screens/issues/filter"
java.lang.IllegalArgumentException: No substitution in url for:id
at reactivefeign.methodhandler.PublisherClientMethodHandler.lambda$buildExpandFunction$27(PublisherClientMethodHandler.java:403) ~[feign-reactor-core-4.0.0.
When making an HTTP request using the reactivefeign library, I encounter a 500 Server Error with the root cause being java.lang.IllegalArgumentException: No substitution in url for:id. This occurs even though I am providing the id for the URL template substitution.
Environment:
ReactiveFeign version: [4.0.0] Spring Boot version: [3.1.4] Java version: [17] Deployment: OpenShift [4.10]
Additional context The application works correctly locally, which suggests there might be a configuration or environmental difference on OpenShift causing the issue. I've verified the proper passing of the id in both environments. Any insights on potential OpenShift-specific configurations or quirks would be appreciated.
I expected the external service to receive the request with the URL having the provided id substituted in place of {id}, and to get a successful response.
I received a 500 Server Error with a stack trace pointing to java.lang.IllegalArgumentException: No substitution in url for:id, suggesting that the id wasn't substituted in the URL. This behavior is inconsistent with my local environment where the application works without any issues.