plugin-flex-outbound-dialpad icon indicating copy to clipboard operation
plugin-flex-outbound-dialpad copied to clipboard

Error on outbound calls

Open nadirhamid opened this issue 4 years ago • 1 comments

Hello,

I have been recently trying to install your Twilio dialpad plugin into my Flex workspace. However, I have not been able to successfully install the plugin as I am noticing some issues whenever a call is made.

I am currently noticing some type of error in the "workerSyncDoc" integration. I do not know exactly what this is supposed to do or what it means (keep in mind I have not worked with Twilio Sync). But I do know the issue occurs somewhere in the callStatusUpdateHandler.js file as this is what the console logs indicate.

I have included my console log: workerSid: XXX INFO ERROR updating sync map: { [Error: The requested resource /Services/XXX/Documents/client:agentname.outbound-call was not found] status: 404, message: 'The requested resource /Services/XXX/Documents/client:agentname.outbound-call was not found', code: 20404, moreInfo: 'https://www.twilio.com/docs/errors/20404', detail: undefined }

Note that I have removed any credentials for safety reasons.

Would you know how to fix this error ?

thanks

nadirhamid avatar Jul 30 '20 04:07 nadirhamid

I managed to fix this by providing the default sync service sid as TWILIO_SYNC_SERVICE_SID in the .env file.

pavel-kh avatar Sep 20 '20 19:09 pavel-kh