adobe.target.trackEvent is failing with a 400 response code | Community
Skip to main content
Level 2
January 12, 2022
Solved

adobe.target.trackEvent is failing with a 400 response code

  • January 12, 2022
  • 1 reply
  • 907 views

I have been trying to test the trackEvent function on https://www.jcpenney.com/ site but when I run a basic trackEvent call in the browser console, it is getting a 400 response code every time. I was originally using a conversion event, but it was failing with a 400 code as well. We are using target version 2.4.0.

 

Sample call

 

adobe.target.trackEvent({'mbox':'homePageTest'});

 

Any ideas on what is causing this?

 

This is our target file:

https://test.static-jcpenney.com/integration4a/yoda-assets/vendor/target.js?v=release-2108

 

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 Gokul_Agiwal

HI @bbrink 

This https://www.jcpenney.com/  site is not accessible for me due to geographic conditions, however you can check below thread for adobe.target.trackEvent with an example. 

https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/adobe-target-trackevent-failing-while-getoffer-is-working/td-p/436265 

Sometime issue persist with browser extensions. 

 

Hope this helps. 

1 reply

Gokul_Agiwal
Community Advisor
Gokul_AgiwalCommunity AdvisorAccepted solution
Community Advisor
January 14, 2022

HI @bbrink 

This https://www.jcpenney.com/  site is not accessible for me due to geographic conditions, however you can check below thread for adobe.target.trackEvent with an example. 

https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/adobe-target-trackevent-failing-while-getoffer-is-working/td-p/436265 

Sometime issue persist with browser extensions. 

 

Hope this helps.