BookmarkSubscribeRSS Feed
Karthveeryarjun
Fluorite | Level 6

I have developed a stored process to receive an XML file as a response to a web service call and deployed it as a web service - something similar to the example here.

It is successful and working fine in receiving an XML file which is of ~100KB but failing to receive similar file which is about 3MB. The other system sending the response seems to throw the below error 

HTTP Response Code 413 for 'https://mystoredprocessURL'. I understand that this is related payload too large in size.

Could you suggest me how to configure the length of payload size that has to be received so that the stored process can receive a larger file. Tried to research but could not find anything relevant.

1 REPLY 1
Anand_V
Ammonite | Level 13

Hi @Karthveeryarjun 

 

This is quite interesting. I believe this could be due to SAS Web Server unable to process this load. There is a property documented on the Apache HTTP page to increase the limit of the request body. You can find it here: https://httpd.apache.org/docs/2.4/mod/core.html#limitrequestbody

 

Would suggest you to try this and let know if it works. This site gives an example on how to set it.

https://www.tecmint.com/limit-user-file-upload-size-in-apache/

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 507 views
  • 0 likes
  • 2 in conversation