Hi @Gautier DUMAS-san,
Thank you for your reply
As you mentioned, the issue was not related to the *pgm, but to the service configuration.The 404 error was caused by an incorrect URL when passing multiple values.
We confirmed that, in this case, multiple values can be passed by separating them with a comma (,), for example:http://localhost:10044/web/services/CUSTQRY01/01010,02
For API testing, we used Swagger Viewer.
By checking the specification in VS Code, we were able to confirm the correct URL and execution result.
Thank you again for your helpful comment.
------------------------------
SAKURA KOGA
------------------------------
Original Message:
Sent: Tue January 20, 2026 10:22 AM
From: Gautier DUMAS
Subject: 404 error when using multiple path parameters in IBM i IWS
Dear Sakura,
Error 404 (Not Found) makes me think of a misconfigured path template (as Nadir mentioned) and therefore a problem with the service configuration (not the *pgm).
If the problem persists, could we have a screenshot of the configuration page for the service in question? (with a stop + redeploy command to return to it).
Best regards,
Gautier
------------------------------
Gautier DUMAS
CEO
CFD-Innovation
RESTINCLIERES
+33607525416
Original Message:
Sent: Tue January 06, 2026 01:36 AM
From: SAKURA KOGA
Subject: 404 error when using multiple path parameters in IBM i IWS
I am building a REST API using IBM i Integrated Web Services (IWS).
Currently, the API works correctly when I pass a single path parameter (customer number) and returns the expected record.
For example, the following URL returns a valid response when I pass customer number 01010:
Now I would like to pass multiple path parameters, such as customer number and area code, to retrieve a record using both values.
I tried calling the API with an additional path parameter (area code 02) as shown below, but this results in a 404 Not Found error:
The parameters in IWS are configured as path parameters.
My questions are:
Is it supported to specify multiple path parameters in an IWS REST service?
If so, what configuration is required on the IWS side to handle multiple path parameters?
Are there common causes of a 404 error in this scenario (IWS service definition, parameter mapping, ILE program interface, URL format, etc.)?
Any guidance or examples would be greatly appreciated...
Thank you
------------------------------
SAKURA KOGA
------------------------------