Búsquedas recientes


No hay búsquedas recientes

Intermittent error while parsing the ticket information.



Publicado 13 sept 2024

I have an appllication running  on ticket_sidebar. 

I am using Zaf client ("1.0.0-beta.47")

I load and parse the ticket iinformation as follows :

 

function showSsoInfo() {
  client.get('ticket').then(function (data) {
    const requesterEmail = data['ticket'].requester.email;
    const createdAt = Date.parse(data['ticket'].createdAt);
    const ticketId = data['ticket'].id;
    const organization = data['ticket'].organization;
    if (organization !== undefined) {
      const externalId = organization.externalId;
      BACK_END_CALL(requesterEmail, createdAt, ticketId,organization);
    } else {
      BACK_END_CALL.fetchZendeskUserInfo(requesterEmail, createdAt, ticketId);
    }
  });
}

 

 

Since 26-08-2024 in the logs of the back end service, we have noticed that ticket creation date is coming as NaN. This issue is intermittent. 

Not ticket related. For the same ticket sometimes the proper value is returned and sometimes not returned. 

 

I couldn't reproduce the issue with v2-repl. 

 

Zendesk help desk suggested that I put the question here.

 

What could be wrong?

 

Best Regards,

Gokcem 

 

 

 


0

0

0 comentarios

Iniciar sesión para dejar un comentario.

¿No encontró lo que buscaba?

Nueva publicación