API issues with Katalon 7 - that worked in K6

I am trying to migrate over to Katalon 7 from Katalon 6 and I seem to be having issues when the url has a “|” in the URL…such as something like this:

https://test.com/api/v1/shipping/quotes/agsad|asdsd/order

I never had an issue in Katalon 6, but seems like when the URL contains a “|”, and I use the Rest Request from Objects, I get an error like this:

2020-02-16 11:20:15.869 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to send request (Root cause: java.lang.IllegalArgumentException: Illegal character in path at index 118:

Thanks!

hi,

not sure but try to encode pipe symbol as %7C

I ended up doing with encoding, but this did work ok in 6.3.3 and broke , like other things, in 7.

Thanks

Similar issue is here:

Especially KS 7.0.6 has a change about encoding query parameters:

My issue is different. I originally did not encode and for some reason, Katalon does not know how to automatically encode a “|” character. In my opinion, this is a bug because previously in 6 it accepted it and now it doesn’t accept that character at all and does not try to encode it either.