The CreatorCon Call for Content is officially open! Get started here.

Method failed(method name) with code 400 for one Server endpoint but working for other server endpoi

Arka Banerjee1
Tera Contributor
  • Hi All

 

We have an integration set up with Sailpoint IIQ.

 

We are sending a post call to IIQ from SNOW, and it is working with a 201 success if we are using one of the server endpoints of IIQ in the call, but if we are using the other server endpoint for our POST call, it is failing with a Method failed(method name) with code : 400 error, with the response stating : unrecognized field "some IIQ stuff(client data)" (class.***(client data, some iiq stuff)), not marked as ignorable(0 known properties) at [Source : (some iiq stuff(client data)))] (through reference chain: sailpoint.***client data).

 

We also have a get method for fetching some entitlements from IIQ but in that one, it is able to fetch for both the IIQ server endpoints. 

 

Also, if we are doing the same post call from postman for the IIQ server endpoint for which it is failing in our rest call in SNOW, it is showing a 201 success.

 

I am really confused as to which way the issue lies. Can someone kindly help on the same.

 

@Ankur Bawiskar, @Chuck Tomasi Can you kindly help me with the above issue, its very business critical..

6 REPLIES 6

Hey Ratnakar,

 

I just found out that if we change the content type header to xml instead of json for the post call, its working for both the server endpoints, but if we are changing the content type header to JSON, its working for one endpoint but failing for the other with the 400 error as stated above. This happens in both postman and post call we are sending from SNOW. Any idea about what might cause this?

Also, if we are sending the post call content as json itself and use the content type as xml, how does it process? Does it convert itself to xml and then send?..