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.

Level 4
June 11, 2023

@balaram_rudra - The POP3 protocol issue is specific to Microsoft Office 365 so that shouldn't be a problem unless your Rest endpoint happens to be the same.

I will setup a new instance with SP16 and dummy endpoint to validate the same & get back to you.
Meanwhile as @vaibhavi_j has recommended can you try the same with Forms Add On Package and confirm if that's working?


Hi @rohan_garg, I did a little more troubleshooting and it looks like the issue got introducted with 6.5.11. It is mentioned in the known issues of that release.

March 11, 2024

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