Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Getting error 'Invalid URI' when passing query parameter in flow designer rest api GET method call

Sudarshan3
Tera Contributor

Hi All,

I have Requirement to integration with third party tool. I am getting error Invalid URI'https://www.baseurl?page[size]=300&page[number]=2' when passing query parameter in flow designer rest api GET method call. 

Third party api document mentioned the format to use the parameter as page[size], page[number]. However when we are passing the parameter same in this format it throwing an error, please help how to resolve this issue.

Thanks in advance.

7 REPLIES 7

Hi

basically, it looks good. Maybe it is a Flow Designer bug. 

You could try another approach and build a REST Message object:

find_real_file.png

Then click on "Test". 

If that request still causes troubles you have no chance to request your given endpoint.

Kind regards
Maik

Hi @Sudarshan 

In case you think I was able to answer your question, I would be happy if you mark the appropriate response as "correct" so that the question will appear as resolved for other users who may have a similar question in the future.

If not, please tell me what you are still missing!

Many thanks & kind regards
Maik

Thanks for the help Maik The issue resolved by passing the encoded parameter like page%5dsize%6b as special symbols are not applicable directly instead of passing page[size]