Hello,
I need a page in my portal where my user can check or uncheck every newsletter we have. I have created a subscription center and a marketing form for this.
I have integrated the marketing form using the HTML and JS provided on my portal. The form appears well, but I cannot save it. It says "unknown error occurred".
By looking at the error message in my console, I can see that the contact id is unknown.
If I add my portal contact to the subscription list manually via the Marketing app, I see nothing change on the portal. That's why I suspect the prefill is not working and the marketing form actually has no idea what contact am I working with.
If I include a link to the whole subscription center, then this is the exact same problem. The form appears, I can see all our newsletters, but checking or unchecking any newsletters results in the error message "unknown error occurred".
What can I do to debug this?