Maximum size limit for outbound REST Payload, also size limit for outbound Attachments using REST integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2022 02:21 AM
Hi, please help me with the below queries
1. How can we check the maximum size limit we have for outbound REST Payload in our servicenow instance, is there any systme property with this value.
2. Is there any restriction at servicenow instance level for sending attachments through REST outbound integration?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2022 03:18 AM
Direct REST responses that exceed this limit generate an error. To support larger response sizes, either save the response as an attachment or increase the response size limit with the glide.pf.rest.response_payload_max_size system property. This system property supports a maximum value of 10 MB.
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2022 03:30 AM
Hi
Thank you for the reply, but here I am referring to request payload body size.
While I am sending the attachments in Payload to third party application, what is the maximum request payload body size.
Regards,
Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2022 03:33 AM
Property | Default value | Description |
---|---|---|
glide.rest.scripted.max_inbound_content_length_mb | 10 | The maximum size, in megabytes, for a scripted REST request body that is not gzipped. |
glide.rest.scripted.max_inbound_gzip_content_length_mb | 1 | The maximum size, in megabytes, for a scripted REST request body that is gzipped. |
glide.rest.max_content_length | 10 | The maximum size, in megabytes, for a scripted REST request body, whether or not it is gzipped.
As a result, even if glide.rest.scripted.max_inbound_content_length_mb or glide.rest.scripted.max_inbound_gzip_content_length_mb are set, the request body is limited to the value of glide.rest.max_content_length. |
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2022 03:37 AM
Does these properties applicable for outbound as well?