What is size limit for multiInsert using REST Import Set?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 05:37 AM
Hi together,
When using the multiInsert of REST Import Set API, what is the size limit in regards of the PayLoad that can be sent?
I know there is a System Property glide.rest.max_content_length, which is defaulted to 10mb and can be set up to 25mb. But the property documentation explicitly mentions it is used in context of scripted REST API. So the question remains if that would also apply for Import Set API? Or may it have an separate limit?
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 06:16 AM
Hi
Check the below link it may help you
https://community.servicenow.com/community?id=community_question&sys_id=31841425db2dbfc0d82ffb2439961945
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/geneva-servicenow-platform/page/integrate/inbound_rest/concept/c_...
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
Thanks
Chandu Telu
Please Mark ✅ Correct/helpful, if applicable,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 07:10 AM
Hi glide.soap.max_inbound_content_length obviously not for REST.
glide.rest.max_content_lenght is the property I mentioned already, but as of the Docs it's only for Scripted REST API, it doesn't mention out of box REST APIs