Exception occurred while performing 'Create' operation on identity '61124221': Url: https://test-url.cloud/api/v1/scim/Users, Message: 401 : Unauthorized, HTTP Error Code: 401

Which IIQ version are you inquiring about?

Unsure

Please share any images or screenshots, if relevant.


run time.png

Please share any other relevant files that may be required (for example, logs).

2024-02-04T231230,352 TRACE QuartzS.txt (11.7 MB)

Share all details related to your problem, including any error messages you may have received.

Hi,
after running an account aggregation for a webserice with a create account operation it’s failing and checking access review this message is showing “Exception occurred while performing ‘Create’ operation on identity ‘61124221’: Url: https://test-url.cloud/api/v1/scim/Users, Message: 401 : Unauthorized, HTTP Error Code: 401” same when checking with provisioning transaction the status is failing and the above error message is showing.

Are you trying to aggregate the data using the webservice connector or creating an account ???

after running an account aggregation for a webserice with a create account operation it’s failing and checking access review this message is showing “Exception occurred while performing ‘Create’ operation on identity ‘61124221’: Url: https://test-url.cloud/api/v1/scim/Users, Message: 401 : Unauthorized, HTTP Error Code: 401” same when checking with provisioning transaction the status is failing and the above error message is showing.

@jomartolosa -
HTTP error code 401 means “Unauthorized.” This error occurs when the server you’re trying to access requires authentication, but either you haven’t provided the correct credentials or you haven’t provided any at all.

Here’s how you can resolve it:

  1. Check your credentials: Make sure you’re providing the correct username and password if the server requires authentication. Double-check for typos or any other errors.
  2. Use proper authentication: If the server uses a specific authentication method like Basic Authentication or OAuth, ensure you’re following the correct procedure for that method.
  3. Check permissions: Even if you’re providing the correct credentials, you might not have the necessary permissions to access the resource. Contact the server administrator to verify your access rights.

It is always advisable to Test all the endpoints while onboarding any webservice application to Sailpoint. Here you may use postman or any other REST clients.

Hi @DeepanshuBisht, I’m aggregating it using the webservice connector.

Hi @officialamitguptaa, I’m using the same credential for both postman and IIQ and in postman I was able to add a user there.

Hi @jomartolosa

Can you validate your request body by putting sys out in before operation rule?
requestEndPoint is the attribute which will give you the request body.

Compare it with the one you are putting in Postman

Hi Jomar,
For aggregation use the account aggregation operator also kindly check your call configuration as well.
In the screen shot it is showing post call but for aggregation to get the user data it must be a get api call.
Also since it is a 401 error as mentioned by amit which means the authentication details are incorrect to access the api endpoint.

Make sure that before using any api endpoints in iiq the test connection is working fine.

And if your test connection is working fine.

Also i can see in the screenshot you have not added the access token in the headers.
kindly refer the webservice connector documentation.
Integrating SailPoint with Web Services.

Hi @DeepanshuBisht, I have test connection and both account and group aggregation and i can preview both account and group schema

Hi @amishra97, Not sure on how to do this as I’m currently new in sailpoint

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