The requested resource was not found

Hi,

I have implemented a process automation trigger which executes a workflow.

Within this workflow I use a data action to fetch conversationEnd from /api/v2/analytics/conversations/${input.conversationId}/details

It seems to work most of the time, but sometimes it fails with "The requested resource was not found.". The conversationId provided is correct and if I execute the data action manually with the conversationId everything is ok.

Hi Hampus,

I would open a ticket with our customer Care team. This sounds suspiciously like a data race or eventual consistency problem in the conversation service, but I would need the engineering team responsible for the service to do a deeper investigation.

@Richard.Schott Any thoughts on the above problem?

@Jason_Mathison Are there any retry patterns we could do with a flow and a data action to wait X seconds on the event of a 404 and then retry the call X times? It is not a solution, but it might be something that could help until the engineering team could investigate further.

Hi Hampus,

What topic are you triggering on?

--Jason

Hi @Jason_Mathison

v2.detail.events.conversation.{id}.acw

Kind regards!
//Hampus

I agree with John that you should open up a case with are to figure out why this API is occasionally failing.

In the data action error path in your flow you could try adding a wait and then retry the data action.

--Jason

Thank for the answers, I will do as you suggest.

I wish you a great day!

Hi,

When I requested our partner to submit a case, they asked why I was using the analytics endpoint. They said that there could be a delay before interactions show up there.
I have no reason to use the analytics, so I switched to /api/v2/conversations/{conversationId} instead.

I keep my fingers crossed that that this will solve the issue.