When using Sitecore Forms in a JSS application, the form cannot be submitted if the value of the serverSideRenderingEngineEditOnly app attribute is set to true. In this case, the request to /api/jss/formbuilder returns the not found page.
The issue affects Sitecore Headless Rendering 20.0.0.
To resolve the issue, consider either of the following options:
<httpRequestBegin> <processor type="Sitecore.JavaScriptServices.ViewEngine.Pipelines.HttpRequest.HeadlessSiteAccess, Sitecore.JavaScriptServices.ViewEngine" resolve="true" patch:after = "processor[@type='Sitecore.Pipelines.HttpRequest.TransferRoutedRequest, Sitecore.Mvc]" /> </httpRequestBegin>
Note: The value of the app attribute, or the processor, must be patched by creating a configuration patch file in the \App_Config\Include\zzz folder.