The issue is likely caused by the space in the URL. One solution is to encode the space as "%20" in the URL. So, instead of using "Value/search", use "Value%20/search".
Another solution is to modify the server configuration to allow spaces in URLs. This can be done by adding the following line to the .htaccess file:
AllowEncodedSlashes On
This will allow encoded slashes in URLs, including spaces.
If using nginx, the following configuration can be added to the server block:
server {
...
merge_slashes off;
...
}
This will allow encoded slashes in URLs, including spaces.