Test mode working fine but, when publishing the Journey it gives errors | Community
Skip to main content
GigiCotruta
Level 4
October 16, 2025
Solved

Test mode working fine but, when publishing the Journey it gives errors

  • October 16, 2025
  • 2 replies
  • 641 views

I have created a Journey that updates the profile in the DEV sandbox.

When in test mode, everything works fine. But then, when Published, the path that the journey takes is sometimes the correct one and other times the alternative error/timeout one.

 

I am doing the same tests in test mode as when Published. Why this might happen?

 

P:S: I am able to see the events in the profile while published

Best answer by GigiCotruta

Ok, we solved it. The problem was the timeout, we raised it to 90 seconds, and the repeated entry of profiles timeout, we lowered it to the minimum. 

2 replies

Mohan_Dugganab
Adobe Employee
Adobe Employee
October 16, 2025

Could you share the screenshot of the journey with the details of the branching ? 

GigiCotruta
Level 4
October 17, 2025

Of course, here they are:
The journey: 

And the "recibo pendiente" code:

if ( isEmpty(#{ExperiencePlatform.fieldgroup1.profile._clienttechsa.customPersonalization}) ) then ( concat ( concat ( concat ( concat( concat( concat ('[{\"importeTotal\":', toString(@event{kafkaEvent._clienttechsa.kafka.paymentDocument.totalAmount})), ',\"numeroPoliza\":'), toString(@event{kafkaEvent._clienttechsa.kafka.policy.number})), ',\"tipoSegmento\":\"segmento recibo\",\"idObjeto\":\"'), @2821738{kafkaEvent._clienttechsa.kafka.invoice.id}), '\",\"tipoObjeto\":\"recibo\"}]') ) else ( if ( not ( contain(#{ExperiencePlatform.fieldgroup1.profile._clienttechsa.customPersonalization}, @2821738{kafkaEvent._clienttechsa.kafka.invoice.id} ) ) ) then ( concat( concat ( concat ( concat ( concat( concat( concat ('[{\"importeTotal\":', toString(@event{kafkaEvent._clienttechsa.kafka.paymentDocument.totalAmount})), ',\"numeroPoliza\":'), toString(@event{kafkaEvent._clienttechsa.kafka.policy.number})), ',\"tipoSegmento\":\"segmento recibo\",\"idObjeto\":\"'), @2821738{kafkaEvent._clienttechsa.kafka.invoice.id}), '\",\"tipoObjeto\":\"recibo\"},'), substr(#{ExperiencePlatform.fieldgroup1.profile._clienttechsa.customPersonalization}, 1)) ) else (#{ExperiencePlatform.fieldgroup1.profile._clienttechsa.customPersonalization}) )

 

Basically I am trying to create a parseble JSON so any platform can read and personalize the user's experience.

 

Once again, when I am trying in test mode, there is no problem, but then, when I am sending events via an HTTP connection, I am getting all the errors from the screenshot. 

SatheeskannaK
Community Advisor
Community Advisor
October 17, 2025

@gigicotruta

It is not possible to post data into the profile level using a JSON structure with the update profile activity.

Thanks, Sathees
GigiCotruta
GigiCotrutaAuthorAccepted solution
Level 4
October 21, 2025

Ok, we solved it. The problem was the timeout, we raised it to 90 seconds, and the repeated entry of profiles timeout, we lowered it to the minimum.