[AF] [AEM-AF-901-004]: error while submitting form with attachment

Avatar

Avatar

mintur24131905

Avatar

mintur24131905

mintur24131905

01-12-2020

Hi Team,[AF] [AEM-AF-901-004]: I am getting this error while submitting the form with attachment.


 
mintur24131905_0-1606821398927.png

 

 

View Entire Topic

Avatar

Avatar

gbedekar

Avatar

gbedekar

gbedekar

01-12-2020

I have had the same issue when I  was submitting to the REST endpoint on my tomcat server.

Please follow this document

which tells you how to enable submission of attachments

  1.  enable multipart form data submission to tomcat, please add the following attribute to the context element of the <tomcatInstallDir>\conf\context.xml and restart your Tomcat server.
  2. <Context allowCasualMultipartParsing=“true”>