Invalid send event command error - Web SDK implementation | Community
Skip to main content
Level 2
June 13, 2024
Solved

Invalid send event command error - Web SDK implementation

  • June 13, 2024
  • 1 reply
  • 1415 views

Hi,

 

I am migrating one site from appMeasurement to Web SDK. It hasn't been the first one, so I copied the previous implementation to a new property that was created of this new migration.

 

When I publish the basic configuration in the development enviroment, I can see the page view rule doesn't execute because of an error I am not able to identify.

 

 

Can you help me to identify the origin of this error? I have checked the basic property configuration and the xdm object itself that is creating the issue and all look ok to me.

 

Thanks.

 

 

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

Have you tried checking if you are able to retrieve your xdm data element on console using getVar method?

 

Also are you using variable data element type + update variable action type to configure your XDM variable or configuring a XDM variable data element directly?

1 reply

Ankit_Chaudhary
Community Advisor
Community Advisor
June 13, 2024

Hi @raulfo 

You are getting this error because you are either sending non-XDM data using XDM field in the send event action type or the XDM data element you have copied from your old property seems to be having some configuration issues.

Try validation the XDM data element once again also make sure to copy all other data elements which you are using in the XDM data element to populating values in the schema.

RaulFoAuthor
Level 2
June 13, 2024

For the send event action I have provided a valid XDM object matching my XDM schema. All the data elements that are set in the XDM object exist in the new property.

 

The previous implementation where I copied the configuration from has always worked ok. I haven't changed anything related configuration for the new one.

 

Thanks.

Ankit_Chaudhary
Community Advisor
Ankit_ChaudharyCommunity AdvisorAccepted solution
Community Advisor
June 13, 2024

Have you tried checking if you are able to retrieve your xdm data element on console using getVar method?

 

Also are you using variable data element type + update variable action type to configure your XDM variable or configuring a XDM variable data element directly?