Unable to submit form on publisher/dispatcher | Community
Skip to main content
Level 2
July 16, 2024
Solved

Unable to submit form on publisher/dispatcher

  • July 16, 2024
  • 2 replies
  • 510 views

Hi All,

We are facing one issue where not able to submit form on a publisher/dispatcher. However, on author it's working absolutely fine.

 

Console error: 

 

AEM cloud version 2024.6.16799.20240614T073455Z 

 


Network calls:

Dispatcher Configs: 

# AEM Forms specific filters
# to allow AF specific endpoints for prefill, submit and sign
/0032 { /type "allow" /path "/content/forms/af/*" /method "POST" /selectors '(submit|internalsubmit|agreement|signSubmit|prefilldata|save|analyticsconfigparser)' /extension '(jsp|json)' }

Also, tried adding anonymous user to some forms group still no luck.

 

Appreciate your help.

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 rishim22446870

The issue could be related to the CORS setup and might be the reason for the 204 response code. Please check if you have a custom com.adobe.granite.cors.impl.CORSPolicyImpl configuration

Additionally, you can enable debug logging on com.adobe.granite.cors to check if it is denying the request.

2 replies

rishim22446870
Adobe Employee
rishim22446870Adobe EmployeeAccepted solution
Adobe Employee
July 25, 2024

The issue could be related to the CORS setup and might be the reason for the 204 response code. Please check if you have a custom com.adobe.granite.cors.impl.CORSPolicyImpl configuration

Additionally, you can enable debug logging on com.adobe.granite.cors to check if it is denying the request.

kautuk_sahni
Community Manager
Community Manager
August 1, 2024

@gatsby Did you find the suggestions from users helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni