AEM adaptive form submission error when the submission action includes sending email | Community
Skip to main content
Level 4
June 5, 2023

AEM adaptive form submission error when the submission action includes sending email

  • June 5, 2023
  • 3 replies
  • 3943 views

We are on AEM 6.5.5 and after updating to SP 16, the form submissions are failing with HTTP 400 Malformed request error. After some troubleshooting, I notice that the error happens only when submission action includes sending an email. We are not using the Forms add-on package as of now. Could you please advise if this is a known issue of SP 16 and if there is a fix or workaround for this.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Vaibhavi_J
Level 7
June 6, 2023

Hi @balaram_rudra ,

We are also using a similar version of AEM and SP but with a forms add-on package. All functionality of forms is working fine. 
In your case, the difference will be formed add-on package. You can check the logs for the error. You can also check with adobe if the forms ad-on is required with SP16

Level 4
June 6, 2023

Thank you @vaibhavi_j , There are no errors on the logs for some odd reason. We are not using forms add-on because we are building small and basic forms that doesn't necessarily need the entire forms add-on. I will see if I get in touch with adobe for a fix but lately, I am seeing a trend where adobe is introducing such bugs of considerable impact on forms (without the add-on) including bugs like broken forms editor and rule editor with service packs.

Meanwhile I welcome any fix/workaround suggestions from community members who may have faced this issue.

Rohan_Garg
Community Advisor
Community Advisor
June 7, 2023

@balaram_rudra - Is the issue only seen with SP 16 and not any other SP ?
It's weird that the 400 Request should be tied to a particular SP version. Can you also test the REST API Endpoint (example on Postman) by sending the same request?

Also, can you try upgrading to SP 6.5.17.0 once & see? 

I checked the release logs for SP 6.5.17.0 at below URL but could not find any relevant issue.

https://experienceleague.adobe.com/docs/experience-manager-65/release-notes/release-notes.html?lang=en

 

The only issue in release logs is related to text not being displayed properly in email as highlighted below - 

  • In the Assign task step, when a user selects the “Send Notification Email” and invokes the workflow, the text is not displayed properly in the received email. The question marks are received instead of the text in the received email. (FORMS-7675)
Level 4
June 7, 2023

Hi @rohan_garg , I am not very sure which SP introduced this issue because we directly upgraded from SP 16 from SP 5. I did change the submission action to REST API Endpoint and it works all fine.

I also installed the hot fix for SP 16 from software distribution and that didn't fix the issue. Also SP 17 didn't resolve the issue.

However, in the know issues of SP16, I could see the below which looks like a related one:

  • In AEM Forms, POP3 protocol does not work with email endpoints for Microsoft® Office 365.

Rohan_Garg
Community Advisor
Community Advisor
June 14, 2023

@rohan_garg , I am not sure about installing AEM Forms 6.5.11 that is breaking the functionality in question, but I can confirm that SP 11 install on the normal AEM 6.5 is also breaking the functionality.

 

Installing the forms add might resolve the issue but my organization is not willing to pay for forms add-on when we are using only the basic functionality of adaptive forms, hence looking for some help. I have tested with a clean instance of AEM 6.5.0 and SP 11 on top of it, without any custom code interfering with the testing and I am able to replicate this, so it should be easily replicate by anyone, I guess.


 I am having trouble configuring an adaptive form without the add on package as there are no preloaded themes. Let's get in couple of experts from AEM Forms.

@vijay_katoch@pulkit_jain_@mayank_gandhi - Can you confirm this issue that without add on package but with SP 11-16 installed we are not able to use the form submission with an email?

March 11, 2024

I have faced similar issue on sp16, tried on sp17, its working and future versions should work. Thanks!