get Response of a Large JSON file using Rest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2017 01:03 AM
I have an endpoint which has a large JSON file probably 16 mb file. when I am using get function to get the response in chrome the browser keeps on running and HTTP status is given as - 0. The request gets timed out.
When I run the endpoint as a url in internet Explorer there is a pop up given to save the file and when I open the JSON file through a notepad then I can see the response.
Could you please suggest how can I can the response using REST in Service-now itself.
Any help on this is highly appreciated . Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2017 01:19 AM
Hi Manoj,
I guess ServiceNow limit of payload is around 30 to 35 MB.
you can confirm this with HI support team.
I guess looks like you are making a SYNC call to end point, try with ASYNC so that your browser does not gets freezed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2017 05:22 PM
Hey Manoj,
I am sure you have figure this out already however you will need to increase the attachment file size property for ServiceNow as well as the max_payload size on your MID Server.
If you figured this part out already and are on to the next steps. I would like to ask how big is your file and how long does it take you to parse it?