I've found that using
CloudPagesURL via SMS will always result in the Server Error 500 page, no matter if the
URLEncode is used or not, even if the CloudPage itself just holds simple text.
CloudPage is published and in the same MID.
No additional parameters aside from the CloudPage ID are being passed, yet I see the full URL of it does contain something else.
%%[ var @link set @link = CloudPagesURL(2298) ]%%
The output of the link will be:
While the actual page is just
Why does it get some parameter added?
Why does the page with this parameter always end up in Server Error 500?
Also, an interesting detail - when sending out test SMS, then I am able to access the page.