Recent searches


No recent searches

Intermittent error while parsing the ticket information.



Posted Sep 13, 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 comments

Please sign in to leave a comment.

Didn't find what you're looking for?

New post