Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

url parameter. Error: [error:Error Illegal character in query at index XXX

travemole
Regular Contributor
Regular Contributor

This works as long as you don't use the URL field

"url": "https://api.example3.com/${responseFromCall1.someField}",

For this part it gives an error saying that it cannot resolve
[error:Error Illegal character in scheme name at index 0: ${'XXXX'}

Any other way to do this in the URL parameter?

[This post has been edited by a Moderator to move to its own thread..]

6 REPLIES 6

rushikeshvartak
All-Star
All-Star

Can you elaborate on your problem statement? 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

travemole
Regular Contributor
Regular Contributor

Seems that groovy is not being resolved in REST connectors in the ImportAccountEntJSON http --> url parameter.
Error: [error:Error Illegal character in query at index XXX


I've tried the below with different dozen permutations as per the ticket and the forum post that I've also opened and this is always getting the same error
"call2": {
...
"http": {
"url": "https://ZZZZZZZZZZ?maxResults=100&timeoutMs=40&location=europe-west3&pageToken=${response.call1.mess...}",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},

.....

 

In other places is working fine but seems in this one is not or at least no-one is able to say how to do it.


Re: REST - Use response of first call in the URL o... - Saviynt Forums - 103501
[#2041837] REST Pagination does not work in ImportAccountEntJSON : Saviynt Inc

Kind regards,

Albert.

Can you share full JSON


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

travemole
Regular Contributor
Regular Contributor

Feel free to contribute to the other thread I've opened for the same:
Re: REST - Use response of first call in the URL o... - Saviynt Forums - 103501

Does this thread issue resolved ? or both thread issue are same ?


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

travemole
Regular Contributor
Regular Contributor

Not sure why Dave created a new post for this as I'm following on my own post but the issue is all the time the same in all the unclosed posts that I see in the forum.