I Have a custom cloud page which is used as an unsubscirbe page. When we submit the page by clicking the submit button it gives " 500 Internal Server Error".
How can we debug and resolve the problem on the Cloud page.
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
Most likely, there is a problem with AMPScript or SSJS on this CloudPage. If you just applied some changes, it could take up to 5-7 minutes for the page to be published. Give it some time and reload if it does not help, you need to debug.
This is an intentional SF approach not to provide error details in such cases. This is done to provide a higher level of security. Nevertheless, you could do some debugging by wrapping your code into SSJS try catch block. Please check this discussion for more details on how to use it. I wonder, did really Marketing Cloud miss a debugging tool?
Alternatively, manual debugging through commenting of pieces of your script.