IBM Support

webMethods Knowlegebase : REST API Path Parameter doesn't allow '/' (slash) char (1795505)

Troubleshooting


Problem

Customer migrated from 9.10 to 10.3 and noticed that API receiving all characters in their "path parameter" are no longer working for '/' (slash) character.

The request for that API throws an error "404 Not Found"

HTTP/1.1 404 Not Found

Accept: application/json

X-DIGITAL-ID: 5C474CDC_00C1_2D95

User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

Host: 10.129.32.90

Content-Type: application/json

Content-Length: 274

{"Exception":"API Gateway encountered an error. Error Message: Resource /user/1/12345 not found. Request Details: Service - Dipnn ThinkTank V1, Operation - null, Invocation Time:6:03:24 PM, Date:Jan 22, 2019, Client IP - 10.129.32.174, User - Default and Application:null"}

When removing the slash, all works fine

Document Location

Worldwide


[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSL6KH","label":"IBM webMethods API Management SaaS"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods API Gateway (YAI)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Red Hat Enterprise Linux"}],"Version":"10.3"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM webMethods API Management SaaS

Component:
webMethods API Gateway (YAI)

Software version:
10.3

Operating system(s):
Red Hat Enterprise Linux

Document number:
7207543

Modified date:
20 March 2025

UID

ibm17207543

Manage My Notification Subscriptions