Timeline for UpsertDE not working in cloud page using ssjs
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 12, 2021 at 19:38 | comment | added | Gortonington | Also - long story short on the Answers below around UpsertDE and UpsertData - the recommendation would be to use UpsertData on a CP or LP as it is optimized in this environment and as the functions are 100% identical, it is not a huge lift to implement. But neither of these would cause a 500 error - so not likely to be the root cause of the issue. | |
Jul 12, 2021 at 19:27 | comment | added | Gortonington |
Can you share an example output of item ? to make sure that the JSON structure matches? Have you validated that the outputs are as expected? Writing both id and username values? Have you put these into a var and pushed into the function rather than have them raw inside the array? Have you run it without the upsert function to validate it is 100% that function?
|
|
Jul 8, 2021 at 16:49 | answer | added | jake314159 | timeline score: 2 | |
Jul 7, 2021 at 0:17 | comment | added | Macca | Give putting a try... catch around your code a go and take a look at the nature of the error. | |
Jul 6, 2021 at 21:23 | comment | added | EazyE | have you tried to debug this in emailstudio to get better error messages? Do you have non nullable fields in the DE? | |
Jul 6, 2021 at 17:18 | history | edited | EazyE |
edited tags
|
|
S Jul 6, 2021 at 14:22 | history | suggested | Niko | CC BY-SA 4.0 |
improved readability of the code
|
Jul 6, 2021 at 14:11 | review | Suggested edits | |||
S Jul 6, 2021 at 14:22 | |||||
Jul 6, 2021 at 13:51 | history | asked | ANSHIKA SINGH | CC BY-SA 4.0 |