How to fix "Azure.RequestFailedException: Requested message could not be located.

Kunam, Umakanth 0 Reputation points
2024-06-20T14:18:50.68+00:00

"Azure.RequestFailedException: Requested message could not be located. Couldn't find a record with the messageID: 2fc238dd-b5e2-4ba3-ae33-87b6f747229d\r\nStatus: 404 (Not Found)\r\nErrorCode: MessageNotFound

I'm unable to find Triage of MessageId for the first time i'm getting above error, in second retry it is sending correctly, i just wanted to what causing this issue , i have reviewed the documentation no clues :

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
786 questions
{count} votes

2 answers

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 19,921 Reputation points
    2024-06-24T14:41:18.6366667+00:00

    @Kunam, Umakanth Thanks for reply! Looking at logs for that request. The send request was processed in the Central US region. The first request to get the status landed in East US. The get status request came in before the data could be replicated to the other region.

    This can happen if the request for the status comes in to quickly as our service runs on multiple machines over different regions.

    Let us know if you have further query.


  2. SnehaAgrawal-MSFT 19,921 Reputation points
    2024-07-09T05:59:07.77+00:00

    Antolovich, Junli , Kunam, Umakanth

    Update- Here is the 3 step which is missing in the doc for adding eventGrid,

    let us know if the you have any other specific questions we can help with. 

     

    1. Register an EventGrid Webhook for the IncomingCall Event that points to your DevTunnel URI ex. https://<devtunnelurl>/api/incomingCall
    2. Instructions - https://learn.microsoft.com/en-us/azure/communication-services/concepts/call-automation/incoming-call-notification 
    3. Once that's completed you should have a running application. The best way to test this is to place a call to your ACS phone number and talk to your intelligent agent.

    Hope this helps let us know.

    0 comments No comments