REST API - getting error - Method failed: (/updateIncident) with code: 400

Shivani29
Mega Guru

Hi All,

I am new to Integrations. I have created an Outbound rest message with HTTP Method PUT but getting error code:

Method failed: (/updateIncident) with code: 400
and response: [ISS.0086.9249] Missing Parameter: document

I have checked the connectivity through Postman as well and it is working fine. 
Checked Postman connectivity at 3rd party end and that is also fine. I am able to receive the data from third party but not able to send the data. Below are the snapshots for Rest Message and Business rule:

Rest Message:

find_real_file.png

find_real_file.png

Business Rule:

find_real_file.png

Kindly let me know where and what I am doing wrong. In Dev environment it is working fine.

Rgds,
Shivani

1 ACCEPTED SOLUTION

can you show me the snapshot of http request form section? n compare it with your dev. are you missing some headers

View solution in original post

19 REPLIES 19

Hi Anil,

I tried as you said and getting below logs:

find_real_file.png

Rgds,
Shivani

As Anil replied, it would be a good idea to look through the swagger file configured at the third party end.

 

in the meantime while you obtain that, can you paste the endpoint  (wmisd331.colt.net/updateIncident )in your browser url, login with username and pw you used to set up the rest message. it should show you the XML file. can you see what parameters there. is there something called document?

 

Regards,

Shivambi

Hi Shivambi,

 

I tried it already and I am not able to login as well. It is not taking the id and pwd.

Rgds,
Shivani

can you show me the snapshot of http request form section? n compare it with your dev. are you missing some headers

Hi Shivambi,

Thanks for this reply. I checked HTTP Request section and found there was some extra space when compared with DEV. It started working. Thank you so much.

Rgds,
Shivani