Expand my Community achievements bar.

SOLVED

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

Avatar

Level 4

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?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

Are you able to test the endpoint successfully using postman?

View solution in original post

4 Replies

Avatar

Employee Advisor

Which version of AEM forms?

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

 

Avatar

Level 4

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

Avatar

Correct answer by
Employee Advisor

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

Are you able to test the endpoint successfully using postman?

Avatar

Employee Advisor

@StrawHatM23 

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.