Good mooring,
I am using IdentityNow. When I change a attribute of the schema account of Successfactor, I get the error:
I have been able to change the attributes other times but now I can’t and I always get the same error
How can I change a attribute?
Hi @robertoMoreno ,
what do you mean by change update existing or add new one ?
Did you try it with ui ?
I want update a attribute existing and add new one. By the UI, Postman and VisualCode too fail.
Greetings.
Kingnorth
(Ankit Kumar)
July 2, 2024, 7:02am
4
Hello Jose,
Can you share the screenshot of UI error
Thanks,
Ankit
vguleria
(Vikas Guleria)
July 2, 2024, 7:21am
5
Hi @robertoMoreno
Could you please provide the information about the API you are using to make an update. I have seen such issues when trying with patch operation.
May be that would help us provide some information .
Thank You.
Regards
Vikas
I have used the operation “Update Source Schema (Partial)” of IdentityNow V3 API and I get the error:
I am trying remove a attribute.
vguleria
(Vikas Guleria)
July 2, 2024, 8:01am
8
Hi @robertoMoreno
Looking at the error, it seems like an error with content-type header. Are you passing the value application/json there ?
If the header is available, can you please also try with PUT http method ? That one generally works fine.
Thank You.
Regards
Vikas
Can you share your request body please ?
I advise you to use : put-source-schema | SailPoint Developer Community
You can list your sources schemas for found your schemas id : get-source-schemas | SailPoint Developer Community
After that you can retrieve : get-source-schema | SailPoint Developer Community
And modify your schemas by adding or updating attribute and use put-source-schema | SailPoint Developer Community for update your source schemas
Tulasi
(Tulasi Sowjanya Pallaprolu)
July 3, 2024, 2:55pm
12
may be in the headers u haven’t checked the content-type or else u have kept the content_type as application/json . For patching we need to keep the content_type as application/json-patch+json . I hope this works.
I am using the json-patch+json:
I get the same error.
If i use put-source-schema and i try modify my schema, I get the error:
Tulasi
(Tulasi Sowjanya Pallaprolu)
July 4, 2024, 9:32am
15
try in this format by giving the index of the attribute in the source schema in attributes which u want to remove . I hope it works
It’s like you have internal problem with your source.
If possible create the same source again in your test environment and then perform operations and checkh if they works.
You can also use SailPoint IdentityNow VS Code Extension Now Available - Announcements - SailPoint Developer Community it’s simple to manipulate objects.With that you can directly edit source schemas in json and update it will automatically update into IDnow.
vguleria
(Vikas Guleria)
July 4, 2024, 12:14pm
17
Hi @robertoMoreno
Is it possible to share the error message information. That could help in finding the reason why PUT API is failing here. The attached screenshot just gives the status code which is very generic one.
Thank You.
Regards
Vikas.
I have created the same source again and it already work fine.
Thank you
1 Like
system
(system)
Closed
September 8, 2024, 7:17am
19
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.