Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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


 
mintur24131905_0-1606821398927.png

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee

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

 

View solution in original post

19 Replies

Avatar

Correct answer by
Employee

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

 

Avatar

Level 2
I am geeting the error while submitting to form data model also

Avatar

Level 2

2020-12-03 20:56:16.324 DEBUG [com.shell.sem.core.filters.LoggingFilter] request for /content/forms/af/shell-eco-marathon/phase1/jcr:content/guideContainer, with selector af.submit
2020-12-03 20:56:16.324 DEBUG [com.shell.sem.core.filters.LoggingFilter] request for /content/forms/af/shell-eco-marathon/phase1/jcr:content/guideContainer, with selector af.submit
The error lo: 03.12.2020 20:56:16.333 *ERROR* [0:0:0:0:0:0:0:1 [1607009176322] POST /content/forms/af/shell-eco-marathon/phase1/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.adobe.aemds.guide.utils.GuideUtils [AF] File mime type validation failed /content/forms/af/shell-eco-marathon/phase1/jcr:content/guideContainer/rootPanel/items/panel_1005590221/items/panel1604304561197/items/guidefileupload
03.12.2020 20:56:16.333 *ERROR* [0:0:0:0:0:0:0:1 [1607009176322] POST /content/forms/af/shell-eco-marathon/phase1/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.adobe.aemds.guide.servlet.GuideSubmitServlet [AF] Invalid file name or mime type for file resulted in submission failure

Avatar

Level 9
Does it happen with every image file or with a specific image file

Avatar

Level 9
Als when you get the error what is the name of the file that you are uploading

Avatar

Level 2
Its happening with all image file. I tried with all file names of image. @GirishBedekar, If you want I can share a sample form with you

Avatar

Level 9

Can you post your server logs?

also are you able to submit without adding the attachments?

Avatar

Level 9
Also please send the server logs when you try to submit image as an attacht

Avatar

Level 2
2020-12-05 15:42:58.105 DEBUG [com.shell.sem.core.filters.LoggingFilter] request for /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer, with selector af.internalsubmit 2020-12-05 15:42:58.105 DEBUG [com.shell.sem.core.filters.LoggingFilter] request for /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer, with selector af.internalsubmit 05.12.2020 15:42:58.122 *WARN* [0:0:0:0:0:0:0:1 [1607163178102] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.internal.impl.utils.SubmitDataCollector TemplateKey not found in merge json:cq:responsive 05.12.2020 15:42:58.123 *WARN* [0:0:0:0:0:0:0:1 [1607163178102] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.internal.impl.utils.SubmitDataCollector TemplateKey not found in merge json:cq:responsive 05.12.2020 15:42:58.123 *WARN* [0:0:0:0:0:0:0:1 [1607163178102] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.internal.impl.utils.SubmitDataCollector TemplateKey not found in merge json:style 05.12.2020 15:42:58.123 *WARN* [0:0:0:0:0:0:0:1 [1607163178102] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.internal.impl.utils.SubmitDataCollector TemplateKey not found in merge json:cq:responsive 05.12.2020 15:42:58.123 *WARN* [0:0:0:0:0:0:0:1 [1607163178102] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.internal.impl.utils.SubmitDataCollector TemplateKey not found in merge json:style 05.12.2020 15:42:58.123 *WARN* [0:0:0:0:0:0:0:1 [1607163178102] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.internal.impl.utils.SubmitDataCollector TemplateKey not found in merge json:cq:responsive 05.12.2020 15:42:58.181 *WARN* [0:0:0:0:0:0:0:1 [1607163178102] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.internal.impl.utils.SubmitDataCollector TemplateKey not found in merge json:cq:responsive 05.12.2020 15:42:58.181 *WARN* [0:0:0:0:0:0:0:1 [1607163178102] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.internal.impl.utils.SubmitDataCollector TemplateKey not found in merge json:cq:responsive 05.12.2020 15:42:58.181 *WARN* [0:0:0:0:0:0:0:1 [1607163178102] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.internal.impl.utils.SubmitDataCollector TemplateKey not found in merge json:style 05.12.2020 15:42:58.181 *WARN* [0:0:0:0:0:0:0:1 [1607163178102] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.internal.impl.utils.SubmitDataCollector TemplateKey not found in merge json:cq:responsive 05.12.2020 15:42:58.181 *WARN* [0:0:0:0:0:0:0:1 [1607163178102] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.internal.impl.utils.SubmitDataCollector TemplateKey not found in merge json:style 05.12.2020 15:42:58.181 *WARN* [0:0:0:0:0:0:0:1 [1607163178102] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.internal.impl.utils.SubmitDataCollector TemplateKey not found in merge json:cq:responsive 2020-12-05 15:42:58.260 DEBUG [com.shell.sem.core.filters.LoggingFilter] request for /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer, with selector af.submit 2020-12-05 15:42:58.260 DEBUG [com.shell.sem.core.filters.LoggingFilter] request for /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer, with selector af.submit 05.12.2020 15:42:58.268 *ERROR* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.adobe.aemds.guide.utils.GuideUtils [AF] File mime type validation failed /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer/rootPanel/items/panel_1005590221/items/panel1604304561197/items/guidefileupload 05.12.2020 15:42:58.268 *ERROR* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.adobe.aemds.guide.servlet.GuideSubmitServlet [AF] Invalid file name or mime type for file resulted in submission failure 05.12.2020 15:42:58.270 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.271 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.272 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.273 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.275 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.324 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.327 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.332 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.341 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.355 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.390 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.392 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.394 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.396 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.397 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.398 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.402 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.489 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.490 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/wcm/foundation/components/responsivegrid/afpolicy, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.491 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.491 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/wcm/foundation/components/responsivegrid/afpolicy, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.492 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings'

Avatar

Level 2
05.12.2020 15:42:58.493 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/fd/af/components/page2/aftemplatedpage/default, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.494 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.494 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/fd/af/components/guideContainer/default, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.495 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.495 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/fd/af/components/guideContainer/default, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.543 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.547 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.549 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.552 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.554 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.556 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.558 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.561 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.630 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.630 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/wcm/foundation/components/responsivegrid/afpolicy, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.631 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.632 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/wcm/foundation/components/responsivegrid/afpolicy, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.633 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.634 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/fd/af/components/page2/aftemplatedpage/default, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.634 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.634 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/fd/af/components/guideContainer/default, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.636 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.636 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/fd/af/components/guideContainer/default, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.654 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.733 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.734 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/wcm/foundation/components/responsivegrid/afpolicy, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.735 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.735 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/wcm/foundation/components/responsivegrid/afpolicy, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.736 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.736 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/fd/af/components/page2/aftemplatedpage/default, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.738 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.738 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/fd/af/components/guideContainer/default, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.739 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.739 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/fd/af/components/guideContainer/default, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:58.759 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.768 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.773 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.776 *WARN* [0:0:0:0:0:0:0:1 [1607163178258] POST /content/forms/af/shell-eco-marathon/phase112test/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.898 *INFO* [Apache Sling Resource Resolver Finalizer Thread] com.adobe.granite.repository Service [11502, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent UNREGISTERING 05.12.2020 15:42:58.909 *INFO* [Apache Sling Resource Resolver Finalizer Thread] com.adobe.granite.repository Service [11505, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent UNREGISTERING 2020-12-05 15:42:58.922 DEBUG [com.shell.sem.core.filters.LoggingFilter] request for /content/forms/af/shell-eco-marathon/phase112test/jcr:content, with selector inline 2020-12-05 15:42:58.922 DEBUG [com.shell.sem.core.filters.LoggingFilter] request for /content/forms/af/shell-eco-marathon/phase112test/jcr:content, with selector inline 05.12.2020 15:42:58.923 *INFO* [Apache Sling Resource Resolver Finalizer Thread] com.adobe.granite.repository Service [11504, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent UNREGISTERING 05.12.2020 15:42:58.930 *INFO* [Apache Sling Resource Resolver Finalizer Thread] com.adobe.granite.repository Service [11506, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent UNREGISTERING 05.12.2020 15:42:58.941 *INFO* [Apache Sling Resource Resolver Finalizer Thread] com.adobe.granite.repository Service [11503, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent UNREGISTERING 2020-12-05 15:42:58.981 DEBUG [com.shell.sem.core.filters.LoggingFilter] request for /libs/granite/csrf/token, with selector null 2020-12-05 15:42:58.981 DEBUG [com.shell.sem.core.filters.LoggingFilter] request for /libs/granite/csrf/token, with selector null 05.12.2020 15:42:58.998 *WARN* [0:0:0:0:0:0:0:1 [1607163178920] GET /content/forms/af/shell-eco-marathon/phase112test/_jcr_content.inline.css HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:58.999 *WARN* [0:0:0:0:0:0:0:1 [1607163178920] GET /content/forms/af/shell-eco-marathon/phase112test/_jcr_content.inline.css HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/wcm/foundation/components/responsivegrid/afpolicy, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:59.000 *WARN* [0:0:0:0:0:0:0:1 [1607163178920] GET /content/forms/af/shell-eco-marathon/phase112test/_jcr_content.inline.css HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:59.000 *WARN* [0:0:0:0:0:0:0:1 [1607163178920] GET /content/forms/af/shell-eco-marathon/phase112test/_jcr_content.inline.css HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/wcm/foundation/components/responsivegrid/afpolicy, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:59.001 *WARN* [0:0:0:0:0:0:0:1 [1607163178920] GET /content/forms/af/shell-eco-marathon/phase112test/_jcr_content.inline.css HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:59.002 *WARN* [0:0:0:0:0:0:0:1 [1607163178920] GET /content/forms/af/shell-eco-marathon/phase112test/_jcr_content.inline.css HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/fd/af/components/page2/aftemplatedpage/default, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:59.002 *WARN* [0:0:0:0:0:0:0:1 [1607163178920] GET /content/forms/af/shell-eco-marathon/phase112test/_jcr_content.inline.css HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:59.003 *WARN* [0:0:0:0:0:0:0:1 [1607163178920] GET /content/forms/af/shell-eco-marathon/phase112test/_jcr_content.inline.css HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/fd/af/components/guideContainer/default, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 05.12.2020 15:42:59.004 *WARN* [0:0:0:0:0:0:0:1 [1607163178920] GET /content/forms/af/shell-eco-marathon/phase112test/_jcr_content.inline.css HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/sem-aem/settings from /conf/sem-aem/settings - Probably misconfigured as it ends with '/settings' 05.12.2020 15:42:59.004 *WARN* [0:0:0:0:0:0:0:1 [1607163178920] GET /content/forms/af/shell-eco-marathon/phase112test/_jcr_content.inline.css HTTP/1.1] com.day.cq.wcm.core.impl.reference.ContentPolicyReferenceProvider Policy under /libs won't be published: for policy path: /libs/settings/wcm/policies/fd/af/components/guideContainer/default, and for resource path: /conf/sem-aem/settings/wcm/templates/shell-basic-form-template 2020-12-05 15:42:59.999 DEBUG [com.shell.sem.core.schedulers.SimpleScheduledTask] SimpleScheduledTask is now running, myParameter='' 2020-12-05 15:42:59.999 DEBUG [com.shell.sem.core.schedulers.SimpleScheduledTask] SimpleScheduledTask is now running, myParameter=''

Avatar

Level 2
I have multiple attachment in form, Its working fine when I add both image and pdf in all mimetype. But its failing when only pdf is allowed in some attachment

Avatar

Level 9

What is your Aem forms Version? Please include the service pack as well