# WebService issue

**URL:** <https://developer.sailpoint.com/discuss/t/webservice-issue/84258>\
**Category:** SHF Discussion and Questions\
**Tags:** webservice-connector, apis, sailpoint-identity-security, connectors\
**Created:** [October 7, 2024, 2:25pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258 "2024-10-07T14:25:14Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![CeeJ](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CeeJ](https://developer.sailpoint.com/discuss/u/CeeJ)\
**Post date:** [October 7, 2024, 2:25pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/1 "2024-10-07T14:25:14Z")

</div>

Hi Team,

I was trying to onboard Zuora in IdentityNow, however I am encountering an error whenever I try to Test Connect.  
Error: " Error Received:  
Exception occurred in Test Connection.Url: [https://one.zuora.com/oauth2/token](https://one.zuora.com/oauth2/token), Message: 302 : Unknown Error, HTTP Error Code: 302"

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/b/d/bdf7905ea03680735b72a82c99f2060a0d79f6a0.png)

Not really sure which HTTP Operation is the problem as I have a custom authentication operation and it’s the same with the ones we onboarded back then.

Can anyone help me pls.

Thanks!

---

<div class="post-metadata">

**Author:** ![zeel\_sinojia](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/zeel_sinojia/32/13666_2.png) [@zeel\_sinojia](https://developer.sailpoint.com/discuss/u/zeel_sinojia)\
**Post date:** [October 7, 2024, 2:36pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/2 "2024-10-07T14:36:57Z")

</div>

Hey @CeeJ,

Based on the message, “Test Connection” operation is failing. Could you check if the API call that are configured in Test Connection operation is working through Postman?

---

<div class="post-metadata">

**Author:** ![CeeJ](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CeeJ](https://developer.sailpoint.com/discuss/u/CeeJ)\
**Post date:** [October 7, 2024, 2:55pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/3 "2024-10-07T14:55:31Z")

</div>

Hi @zeel_sinojia, yes it’s working in Postman.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/d/3/d3b5b3826e57cee43f588fb9b194c290883493d0.png)

And this is how it’s being configured in the HTTP Operation

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/f/0/f089a88e3962939687920e1effdba4ec30e2612e.png)

---

<div class="post-metadata">

**Author:** ![bcariaga](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/bcariaga/32/1890_2.png) [@bcariaga](https://developer.sailpoint.com/discuss/u/bcariaga)\
**Post date:** [October 7, 2024, 2:56pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/4 "2024-10-07T14:56:49Z")

</div>

Hello @CeeJ,

This seems to be an issue with the authentication, since the authtoken URL is shown. HTTP Response Code 302 is typically received when an API has moved to a new endpoint. Could you give your authentication request a try in Postman or another tool to see if it is still valid?

---

<div class="post-metadata">

**Author:** ![CeeJ](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CeeJ](https://developer.sailpoint.com/discuss/u/CeeJ)\
**Post date:** [October 7, 2024, 2:59pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/5 "2024-10-07T14:59:23Z")

</div>

Hi @bcariaga, it’s still working

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/8/c/8cbfc60473177459642356a6311c6a48a4dcbd5f.png)

---

<div class="post-metadata">

**Author:** ![zeel\_sinojia](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/zeel_sinojia/32/13666_2.png) [@zeel\_sinojia](https://developer.sailpoint.com/discuss/u/zeel_sinojia)\
**Post date:** [October 7, 2024, 3:08pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/6 "2024-10-07T15:08:04Z")

</div>

Can you post some snapshots of the Custom Authentication operation that you have configured in SailPoint?

Mostly want to look at the URL, headers and body of that request. Please hide any password/secrets.

---

<div class="post-metadata">

**Author:** ![shekhardas1825](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/shekhardas1825/32/20889_2.png) [@shekhardas1825](https://developer.sailpoint.com/discuss/u/shekhardas1825)\
**Post date:** [October 7, 2024, 3:08pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/7 "2024-10-07T15:08:45Z")

</div>

Hi @CeeJ,

Seems like issue with your custom authentication HTTP operation.

Make sure your response mapping is correct and using the same in other HTTP operations (in header) like test connection.

Regards,  
Shekhar Das

---

<div class="post-metadata">

**Author:** ![CeeJ](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CeeJ](https://developer.sailpoint.com/discuss/u/CeeJ)\
**Post date:** [October 7, 2024, 3:09pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/8 "2024-10-07T15:09:42Z")

</div>

Here:

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/1/d/1d1eafb726ddffcf59e7075aae9530ce76b43f81.png)  
 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/b/c/bc6123783cd61bed4047e1c4e97a7f331ac6efec.png)  
 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/4/6/46de440a701146d54375b8747fc5718d805e0238.png)  
 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/d/a/da2767b1a4f9df9b869e0adb37ea458b47e2d925.png)

---

<div class="post-metadata">

**Author:** ![shekhardas1825](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/shekhardas1825/32/20889_2.png) [@shekhardas1825](https://developer.sailpoint.com/discuss/u/shekhardas1825)\
**Post date:** [October 7, 2024, 3:16pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/9 "2024-10-07T15:16:44Z")

</div>

@CeeJ please validate the configuration using below document:

[Custom Authentication (sailpoint.com)](https://documentation.sailpoint.com/connectors/webservices/help/integrating_webservices/idn_config_for_custom_authentication.html)

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/7/1/713fb40f5b60e524741141e4fbcc8143dc3731c6.png)

---

<div class="post-metadata">

**Author:** ![rkhade](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/rkhade/32/6043_2.png) [@rkhade](https://developer.sailpoint.com/discuss/u/rkhade)\
**Post date:** [October 7, 2024, 3:20pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/10 "2024-10-07T15:20:31Z")

</div>

Hi @CeeJ ,

can you try using the cURL from postman and use it in the Custom Authentication, and please change Attribute path from `$.access_token` to `access_token` and put `$` in Root path of Response information.

Thank you

---

<div class="post-metadata">

**Author:** ![CeeJ](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CeeJ](https://developer.sailpoint.com/discuss/u/CeeJ)\
**Post date:** [October 7, 2024, 3:27pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/11 "2024-10-07T15:27:53Z")

</div>

Hi,

I’m getting this error after using cURL and other changes

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/b/5/b54bc1742ad3d0db46fe2b9c22c2e5397839c31f.png)

---

<div class="post-metadata">

**Author:** ![zeel\_sinojia](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/zeel_sinojia/32/13666_2.png) [@zeel\_sinojia](https://developer.sailpoint.com/discuss/u/zeel_sinojia)\
**Post date:** [October 7, 2024, 3:57pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/12 "2024-10-07T15:57:53Z")

</div>

In the request body for custom authentication, did you remove value for grant\_type?

it should be in format `grant_type=GRANT_TYPE&client_id=CLIENT_ID&client_secret=CLIENT_SECRET`.

---

<div class="post-metadata">

**Author:** ![CeeJ](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CeeJ](https://developer.sailpoint.com/discuss/u/CeeJ)\
**Post date:** [October 7, 2024, 4:17pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/13 "2024-10-07T16:17:46Z")

</div>

Hi @zeel_sinojia,  
I checked that too looks like I missed that part out but when I fixed to test connect I’m still getting the 401 error

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/8/9/893d126c43a6e777f882066aab115b0433a10b78.png)

---

<div class="post-metadata">

**Author:** ![zeel\_sinojia](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/zeel_sinojia/32/13666_2.png) [@zeel\_sinojia](https://developer.sailpoint.com/discuss/u/zeel_sinojia)\
**Post date:** [October 7, 2024, 4:27pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/14 "2024-10-07T16:27:18Z")

</div>

Could you paste here the cURL command that you are using now? Also try if the normal operation works now that you have updated your request.

---

<div class="post-metadata">

**Author:** ![shekhardas1825](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/shekhardas1825/32/20889_2.png) [@shekhardas1825](https://developer.sailpoint.com/discuss/u/shekhardas1825)\
**Post date:** [October 7, 2024, 4:33pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/15 "2024-10-07T16:33:49Z")

</div>

@CeeJ this means your custom authentication is now fine.

This is going to test connection http operation, please make sure you are passing the variable correctly in test connection header.

I mean the variable you set in custom authentication for access token.

Also please check the context URL that going to different endpoint.

---

<div class="post-metadata">

**Author:** ![CeeJ](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CeeJ](https://developer.sailpoint.com/discuss/u/CeeJ)\
**Post date:** [October 7, 2024, 5:32pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/16 "2024-10-07T17:32:01Z")

</div>

Hi @shekhardas1825, upon checking its passing the correct token and header is the same with what is in the postman. But I’m still getting the same error.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/1/8/188d22b7c447f938ab1608fb4b44d5ac425f00bd.png)

---

<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:** [December 6, 2024, 5:32pm UTC](https://developer.sailpoint.com/discuss/t/webservice-issue/84258/17 "2024-12-06T17:32:54Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
