Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

HTTP error in a custom action created in adobe io to export profiles.

Avatar

Level 1

I've created an action in adobe io that exports profiles in an adobe ajo journey, but even though it's not returning errors in my adobe io, ajo is taking a very large fraction of profiles from my action with the http error.

This adobe io code receives the data and sends it to S3 (it's arriving correctly)

example: out of 2000 profiles 1.3k are giving http errors (not timeouts) and the rest work correctly.

 

 

My app doesn't require authentication and is true for web, this is the payload I'm sending from adobe ajo to my export action:

{
"journeyId": {
"toBeMapped": true,
"dataType": "string",
"label": "nome jornada"
},
"fileName": {
"toBeMapped": true,
"dataType": "string",
"label": "Nome do arquivo"
},
"CHAVE": {
"toBeMapped": true,
"dataType": "string",
"label": "Chave"
},
"MARCA": {
"toBeMapped": true,
"dataType": "string",
"label": "Marca"
}
}

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Can you check the http status code by querying the following attributes from journey_step_events dataset for the respective journey ?

 

 _experience.journeyOrchestration.stepEvents.actionExecutionError AS ACTION_ERROR, 
        _experience.journeyOrchestration.stepEvents.actionExecutionErrorCode AS ACTION_ERROR_CODE, 
        _experience.journeyOrchestration.stepEvents.actionExecutionOriginError AS ACTION_ORIGIN_ERROR, 
        _experience.journeyOrchestration.stepEvents.actionExecutionOriginCode AS ACTION_ORIGIN_ERROR_CODE, 
        _experience.journeyOrchestration.stepEvents.fetchTypeInError AS FETCH_TYPE, 
        _experience.journeyOrchestration.stepEvents.fetchError AS FETCH_ERROR, 
        _experience.journeyOrchestration.stepEvents.fetchErrorCode AS FETCH_ERROR_CODE, 
        _experience.journeyOrchestration.stepEvents.fetchOriginError AS FETCH_ORIGIN_ERROR, 
        _experience.journeyOrchestration.stepEvents.fetchOriginErrorCode AS FETCH_ORIGIN_ERROR_CODE 

 

View solution in original post

5 Replies

Avatar

Community Advisor

@JoaoTo Usually, the mapping attributes missing the data might throw an HTTP error. Do you see any difference between the records that got exported successfully and those that got error out?   

Thanks, Sathees

Avatar

Correct answer by
Employee Advisor

Can you check the http status code by querying the following attributes from journey_step_events dataset for the respective journey ?

 

 _experience.journeyOrchestration.stepEvents.actionExecutionError AS ACTION_ERROR, 
        _experience.journeyOrchestration.stepEvents.actionExecutionErrorCode AS ACTION_ERROR_CODE, 
        _experience.journeyOrchestration.stepEvents.actionExecutionOriginError AS ACTION_ORIGIN_ERROR, 
        _experience.journeyOrchestration.stepEvents.actionExecutionOriginCode AS ACTION_ORIGIN_ERROR_CODE, 
        _experience.journeyOrchestration.stepEvents.fetchTypeInError AS FETCH_TYPE, 
        _experience.journeyOrchestration.stepEvents.fetchError AS FETCH_ERROR, 
        _experience.journeyOrchestration.stepEvents.fetchErrorCode AS FETCH_ERROR_CODE, 
        _experience.journeyOrchestration.stepEvents.fetchOriginError AS FETCH_ORIGIN_ERROR, 
        _experience.journeyOrchestration.stepEvents.fetchOriginErrorCode AS FETCH_ORIGIN_ERROR_CODE 

 

Avatar

Level 4

Hi, I do have http error when running journeys. I tried extracting the fields above from  journey_step_events  but they are not populated. What I see though is this:

"serviceEvents": {
"stateMachine": {
"eventCode": "discard",
"eventID": "scheduledNotificationReceived",
"eventCategory": "unitary",
"eventClass": "external",
"eventType": "notSuitableInitialEvent"
}
}
 
Anybody can shed any light on what this means?
Thanks.

Avatar

Employee Advisor

@GabrielaNa1 The system has chosen to discard (ignore) this event for this journey instance. "notSuitableInitialEvent" implies the event received is not suitable to be used as the initial triggering event for this journey/node, so AJO's orchestration logic is discarding it.

 

Some of the reasons may include: 

  • The journey or its starting node expected a different initial trigger;
  • A scheduled notification arrived in a context where it cannot trigger/start the journey profile;
  • There’s a logic or configuration preventing this notification as a journey initiator.

Avatar

Administrator

Hi @JoaoTo,

Were you able to resolve this query with the help of the provided solutions, or do you still need further assistance? Please let us know. If any of the answers were helpful in moving you closer to a resolution, even partially, we encourage you to mark the one that helped the most as the 'Correct Reply.'

Thank you!



Sukrity Wadhwa