Yeah, you still have to draw in all those values through lookups or just set the variables manually but if you keep getting a failed send or that shitty 500 error on a cloudpage, the try/catch block prevents it and will actually display the error. Should look something like this:
<script runat=“server”> Platform.Load(“Core”,“1.1.1”); try{ </script>
%%[ your AMPscript block goes here ]%%
<script runat=“server”> }catch(e){ Write(Stringify(e)); } </script>
SFMC is Salesforce’s red headed stepchild. The product has been neglected into the ground and they keep shoehorning random shit into it then neglecting that, too. Ad Studio, Social Studio, and Interaction Studio were all different things they bought and slapped a coat of SF branded paint on then let die. It is such a weird product but EVERYONE has it and it gives me pretty good job security knowing how to make it function about half the time.
Oh I’m not saying anything against it! I love that it leaves as much space as it does. Sometimes I just have to give it a little umpf to pass a semi because it sees the car waaay ahead and slows down.