# Web Services - Invalid Character in URL

**URL:** <https://developer.sailpoint.com/discuss/t/web-services-invalid-character-in-url/1451>\
**Category:** IIQ Discussion and Questions\
**Created:** [August 30, 2021, 12:04pm UTC](https://developer.sailpoint.com/discuss/t/web-services-invalid-character-in-url/1451 "2021-08-30T12:04:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerald\_hammond](https://avatars.discourse-cdn.com/v4/letter/g/f04885/32.png) [@gerald\_hammond](https://developer.sailpoint.com/discuss/u/gerald_hammond)\
**Post date:** [August 30, 2021, 12:04pm UTC](https://developer.sailpoint.com/discuss/t/web-services-invalid-character-in-url/1451/1 "2021-08-30T12:04:31Z")

</div>

Hi, I am setting up manual paging by updating the requestEndPoint.setFullUrl() in the before rule with the new target URL for the next set of records.

IIQ appears to add in an " at the end of the URL which it then encodes (as “%22”) and which then results in an error:

Message: java.lang.IllegalArgumentException: Illegal character in scheme name at index 0: "[https://graph.microsoft.com/v1.0/servicePrincipals?$skiptoken=RFNwdAIAAQAAADVTZXJ2aWNlUHJpbmNpcGFsXzA2N2Q3N2VkLWRkOTQtNDBkOC1hN2E3LWExMTYzZDE5ZWY1NTVTZXJ2aWNlUHJpbmNpcGFsXzA2N2Q3N2VkLWRkOTQtNDBkOC1hN2E3LWExMTYzZDE5ZWY1NQAAAAAAAAAAAAAA\*\*",](https://graph.microsoft.com/v1.0/servicePrincipals?%24skiptoken=RFNwdAIAAQAAADVTZXJ2aWNlUHJpbmNpcGFsXzA2N2Q3N2VkLWRkOTQtNDBkOC1hN2E3LWExMTYzZDE5ZWY1NTVTZXJ2aWNlUHJpbmNpcGFsXzA2N2Q3N2VkLWRkOTQtNDBkOC1hN2E3LWExMTYzZDE5ZWY1NQAAAAAAAAAAAAAA**%22,)\*\* HTTP Error Code: 0

Has anyone experienced something similar.  
We are running 8.1p1.

Thanks

---

<div class="post-metadata">

**Author:** ![paulo\_urcid](https://avatars.discourse-cdn.com/v4/letter/p/848f3c/32.png) [@paulo\_urcid](https://developer.sailpoint.com/discuss/u/paulo_urcid)\
**Post date:** [August 30, 2021, 6:59pm UTC](https://developer.sailpoint.com/discuss/t/web-services-invalid-character-in-url/1451/2 "2021-08-30T18:59:36Z")

</div>

The method: setFullUrl() is a “setter” which seems to simply set the URL to whatever value is passed in. Try verifying the URL that is being passed in (and how this URL is being calculated), and also try logging it at the end of the rule

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [September 13, 2021, 4:27pm UTC](https://developer.sailpoint.com/discuss/t/web-services-invalid-character-in-url/1451/3 "2021-09-13T16:27:16Z")

</div>

@gerald_hammond,

We would love to hear an update on the issue you were facing. Was the above helpful in providing you a resolution?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [July 19, 2023, 2:25pm UTC](https://developer.sailpoint.com/discuss/t/web-services-invalid-character-in-url/1451/4 "2023-07-19T14:25:15Z")

</div>


