Getting response 415 in rest integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2020 11:58 AM
Hi All,
We are sending XML through Rest Post method. We are getting 200 response for smaller size XML but for huge XML we are getting 415 code with "Unsupported Media Type","message":"Content type '' not supported" error.
We are using mid server to send request. When verified the output queue, we found that payload is getting truncated.
For resolving this i have created a entry in mid server mid.eccq.max_payload_size and increased the size but no luck.
Please advise.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2020 12:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2020 12:47 PM
You could try, but I have been told its not recommended. I would open a HI ticket and ask support.
Yes, it would be more than one rest call if the 3rd party system allows it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2020 09:42 AM
Hi Patrick,
How can i break the XML request to chunks and send it to 3rd party?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2020 12:13 PM
you may need to increase the attachment payload size. Do you have any idea how large is the larger xml dataset? 2 gig ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2020 12:36 PM