What is the maximum limit of JSON payload that ServiceNow can send?

Kevin Paul
Mega Guru

Hi,

Is there any size limit for json payload that is sent as request body to a third party web service. I'm aware about the inbound property that declares the max size, just want to know if there is anything similar for outbound requests as well.

 

Thanks in advance 🙂

4 REPLIES 4

Community Alums
Not applicable

Hi Kevin,

1. The Maximum total size allowed in the SOAP INBOUND request body, is set via the property glide.soap.max_inbound_content_length and is defaulted at 70 MB in the system.
It is not recommended to set this value too high as we have seen customers set this to 1000 MB and ended up crashing the server. You can try setting your desired value and test the instance for performance. The default value of 70 is the recommended max limit. Alternatively it has been suggested to use the REST Attachment api for such cases.
https://docs.servicenow.com/bundle/quebec-application-development/page/integrate/inbound-rest/concept/c_AttachmentAPI.html?cshalt=yes

Also when the maximum limit is hit, it will completely error out and not truncate the content.

2. The Rest max content limit is set via the property glide.rest.max_content_length which is defaulted at 10MB, min is 1MB, max is 25MB on the target instance. Please find the KB on this below.

https://hi.service-now.com/kb_view.do?sysparm_article=KB0747638

 

Please mark my answer as Correct & Helpful, if applicable.

Thanks

Sandeep

Hi Sandeep,

I know about the inbound property and how much ServiceNow can receive. I wanted to know about outbound, how much ServiceNow can send?

Pranesh072
Mega Sage
Mega Sage

By default, the system limits the size of REST responses that are not saved as attachments to 5 MB. 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.

 

https://docs.servicenow.com/bundle/paris-servicenow-platform/page/administer/flow-designer/reference...

Pranesh, is there any such thing for REST 'requests' ?