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

Adaptive form submission error

Avatar

Avatar
Validate 1
Level 2
Balu_M
Level 2

Likes

5 likes

Total Posts

36 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
Balu_M
Level 2

Likes

5 likes

Total Posts

36 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
Balu_M
Level 2

23-02-2017

We are getting error while submitting adaptive form.how to resolve this issue? i have attached complete error.log file . 

Client side we are getting popup with below error

[AF] [AEM-AF-901-004] Encountered an internal error while submitting the form

 

Error log details:

23.02.2017 15:37:52.829 *ERROR* [0:0:0:0:0:0:0:1 [1487844472814] POST /content/forms/af/qr/customer-care/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.utils.SubmitDataCollector Unable to create JSON for Submit
javax.xml.xpath.XPathExpressionException: javax.xml.transform.TransformerException: Unable to evaluate expression using this context

Accepted Solutions (0)

Answers (5)

Answers (5)

Avatar

Avatar
Boost 5
Level 2
sudhanshu_singh
Level 2

Likes

8 likes

Total Posts

15 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 5
Level 2
sudhanshu_singh
Level 2

Likes

8 likes

Total Posts

15 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile
sudhanshu_singh
Level 2

26-02-2017

Hi Balu M,

Can you please share the form with which you are getting the error.

Thanks & Regards,

-Sudhanshu

Avatar

Avatar
Validate 1
Level 2
Balu_M
Level 2

Likes

5 likes

Total Posts

36 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
Balu_M
Level 2

Likes

5 likes

Total Posts

36 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
Balu_M
Level 2

03-03-2017

We are getting this error only for few forms. as suggested by LeSutton please verify your xml format .when there is mismatch on form xml then only we will get error. 

Avatar

Avatar
Boost 5
Level 3
lesutton1
Level 3

Likes

9 likes

Total Posts

47 posts

Correct Reply

14 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 5
View profile

Avatar
Boost 5
Level 3
lesutton1
Level 3

Likes

9 likes

Total Posts

47 posts

Correct Reply

14 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 5
View profile
lesutton1
Level 3

03-03-2017

You may want to check the XML data you're populating with versus the schema you're using in the form. Pay particular attention to all of the bindings in any of your panels. Make sure they are linked to repeating elements in the schema if they are repeating and if they are not repeating, the min and max values in the panel should be blank (not 0, specifically blank).

Avatar

Avatar
Level 1
rn
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
rn
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
rn
Level 1

03-03-2017

Thank you for your answer. We are pre-populate the form as well. Did you get the error every time on submission?

Avatar

Avatar
Validate 1
Level 2
Balu_M
Level 2

Likes

5 likes

Total Posts

36 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
Balu_M
Level 2

Likes

5 likes

Total Posts

36 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
Balu_M
Level 2

03-03-2017

Hi, 

We are placing "data" xml file in slingrequest to enable form field pre-population functionality.

https://helpx.adobe.com/aem-forms/6-2/prepopulate-adaptive-form-fields.html

Please read "Setting data attribute in slingRequest" section for more details. We have removed this functionality and form submission working for us.

One of the reason(I am not sure) for getting this error,during form submission its unable to replace data object already placed in request attribute. so we have implemented this functionality in different way.