Maximum size limit for outbound REST Payload, also size limit for outbound Attachments using REST integration

Murgan
Kilo Contributor

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?

8 REPLIES 8

Aman Kumar S
Kilo Patron

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.

Best Regards
Aman Kumar

Hi @Aman Kumar,

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

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.
  • Maximum: 25

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.

Best Regards
Aman Kumar

Does these properties applicable for outbound as well?