Expand my Community achievements bar.

Why is Adobe Experience Platform, Data Collection returning "Validaion Failed, are you offline?" for long Custom Code Actions?

Avatar

Level 2

In Adobe Experience Platform, Data Collection, we have several Rules that send Javascript code. we have a Rule. In that Rule, we have an Action, of type Custom Code.

 

When we open that action and enter our custom code into the textarea, the Adobe Experience Platform system will attempt to validate the code. This process works for shorter code samples, returning either "No errors found" or "Warnings may prevent the code from behaving as expected."

 

This works for most code, but we have a custom code element that is 594,656 characters long. When we open or try to change the code, we receive an error, "Validaion Failed, are you offline?"

 

Has anyone experienced this before? We were able to add or change this code in December, and it's been working for months before this.

We do find that we are able to edit the long custom code in Firefox, but in Chrome, we receive an out of memory exception in the console:
We find that it does work in Firefox, so we have a workaround. In Chrome, in the console we find an error:
This happens in both Version 120.0.6099.225 (Official Build) (64-bit) and  Version 121.0.6167.86 (Official Build) (64-bit)

 
 

a46bc8fb-c078-4763-819b-a6449fbaf16f:2 Uncaught DOMException: Failed to execute 'postMessage' on 'DedicatedWorkerGlobalScope': Data cannot be cloned, out of memory.

 

0 Replies