Skip to main content
7 events
when toggle format what by license comment
Jan 27, 2022 at 18:56 comment added NewJackSwing4Ever The correction worked! Thank you both.
Jan 27, 2022 at 18:53 vote accept NewJackSwing4Ever
Jan 26, 2022 at 21:29 comment added Adam Spriggs I fixed the undefined var and added a try/catch.
Jan 26, 2022 at 21:25 history edited Adam Spriggs CC BY-SA 4.0
rs -> rowset, try/catch
Jan 26, 2022 at 21:17 comment added Jonas Lamberty general debugging for this sort of thing 1) paste it to ampscript.io and check for errors. in this case I got "Variable @rs has not been set" -> replace @rs by @rowset ; 2) use a try catch around the function: salesforce.stackexchange.com/questions/296953/…
Jan 26, 2022 at 20:22 comment added NewJackSwing4Ever Yeah I had the for loop earlier but changed it to an if. Unfortunately, I tried the code just as you wrote it and I still am getting the '500 - Internal server error'. If the syntax is correct and I confirmed the 18-digit CRM Contact ID is still valid, can you think of anything that might be causing it? I've retrieved from SFMC DE's plenty with with DE lookup functions but have yet to see SalesForce specific functions retrieve from SalesCloud.
Jan 26, 2022 at 19:49 history answered Adam Spriggs CC BY-SA 4.0