- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 08:16 AM
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:
Business Rule:
Kindly let me know where and what I am doing wrong. In Dev environment it is working fine.
Rgds,
Shivani
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2022 05:03 AM
can you show me the snapshot of http request form section? n compare it with your dev. are you missing some headers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2022 11:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2022 11:23 PM
Hi Anil,
I tried it by commenting this endpoint line in business rule but it is giving the same error.
Rgds,
Shivani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 12:20 AM
Can you remove the , after "sys_updated_on" : current.sys_updated_on.toString() and try again?
Regards,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 05:16 AM
Hi Michael,
Same error. Still getting response from 3rd part as Missing Parameter: document instead of updated successfully.
Rgds,
Shivani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 05:22 AM
Hi Shivani,
Looks like an issue with r.setRequestBody() parameter. can you log whats coming in JSON.stringify(body)
400 error comes when you are not sending a valid JSON body. probably its missing a parameter which has been defined mandatory as part of payload that third party should be receiving.
Regards,
Shivambi