Update attribute of schema of a source

Good mooring,

I am using IdentityNow. When I change a attribute of the schema account of Successfactor, I get the error:

imagen

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.

Hello Jose,

Can you share the screenshot of UI error

Thanks,
Ankit

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 :slight_smile: .

Thank You.
Regards
Vikas

It is a generic error:

I have used the operation “Update Source Schema (Partial)” of IdentityNow V3 API and I get the error:

imagen

I am trying remove a attribute.

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 have try:

imagen

and

imagen

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

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:

imagen


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.

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

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