[AF] [AEM-AF-901-004]: Encountered an interal error while submitting the form. | Community
Skip to main content
Level 3
March 10, 2023
Solved

[AF] [AEM-AF-901-004]: Encountered an interal error while submitting the form.

  • March 10, 2023
  • 2 replies
  • 1085 views

Hi all, 

 

I am trying to submit an adaptive form via REST endpoint to a SharePoint list. I have added the SharePoint URL for the "URL for POST request" and when I try submitting my data, I am getting this error.

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

 

Can anyone tell me what this means and how I can resolve this?

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

This is not an  out of the box capability ( to submit to share point)

Are you able to test the endpoint successfully using postman?

2 replies

Adobe Employee
March 10, 2023

Which version of AEM forms?

only AEM Forms Cloud Service has the support to submit to share point

 

Level 3
March 10, 2023

AEM Forms for AEM 6.5 service pack 12 I don't think we are using the cloud service 

workflowuserAdobe EmployeeAccepted solution
Adobe Employee
March 10, 2023

This is not an  out of the box capability ( to submit to share point)

Are you able to test the endpoint successfully using postman?

Pulkit_Jain_
Adobe Employee
Adobe Employee
March 10, 2023

@justinbr17 

AEM-AF-901-004 is the generic server-side exception code during submission, hence you see the error message (ie) “Encountered an internal error while submitting the form” in the client. To narrow down the issue, please share the error log msg for the attempt.

If you have enabled the POST request, you need to allow incoming POST requests in the Apache Sling Referrer Filter configuration and the Adobe Granite CSRF Filter OSGI configuration.