Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 1
Level 1
mintur24131905
Level 1

Likes

0 likes

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
mintur24131905
Level 1

Likes

0 likes

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
mintur24131905
Level 1

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
Boost 25
Level 3
gbedekar
Level 3

Likes

26 likes

Total Posts

34 posts

Correct Reply

9 solutions
Top badges earned
Boost 25
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile

Avatar
Boost 25
Level 3
gbedekar
Level 3

Likes

26 likes

Total Posts

34 posts

Correct Reply

9 solutions
Top badges earned
Boost 25
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile
gbedekar
Level 3

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”>