Why is Adobe Experience Platform, Data Collection returning "Validaion Failed, are you offline?" for long Custom Code Actions? | Community
Skip to main content
January 23, 2024
Question

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

  • January 23, 2024
  • 1 reply
  • 393 views

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.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

kautuk_sahni
Community Manager
Community Manager
October 18, 2024

@tof_jossic @yuhuisg @nnakirikanti @anuhya-y @satheeskannak @brekrut Curious to hear SMEs perspectives on this question. Do you all mind sharing your thoughts?

Kautuk Sahni