I have a Production API successfully retrieving message (sms, voicemails, faxes) data and we are storing that information in our database.
Now, we attempting to take the message id and attachment id and using it to retrieve the voicemail and we are getting this error.
{ "errorCode" : "CMN-102", "message" : "Resource for parameter [messageId] is not found", "errors" : [ { "errorCode" : "CMN-102", "message" : "Resource for parameter [messageId] is not found", "parameterName" : "messageId" } ], "parameterName" : "messageId" }
I am wondering if since the voicemail is coming in on our production phone number if attempting to access it with our sandbox phone number (and credentials) while testing is causing the "resource not found." I doubt it, but I need to ask.
Any other insight into what is causing this error would be helpful.
Our API endpoint is (pound symbols will replace actual variables in Coldfusion:
https://platform.devtest.ringcentral.com/
restapi/v1.0/account/#setOwnerId#/extension/#setOwnerId#/message-store/#messageId#/content/#attachment_Id#
Thanks,
Jason
The problem is the documentation says that the file is audio/x-wav.
https://developer.ringcentral.com/api-docs/latest/index.html?section=RefMessages.html#!#MessageAttac...
However, the JSON get messages method returns audio/mpeg and my code checks the mime-type and it also says audio-mpeg.
However, when I write the file as an .mp3, the file is invalid.
Suggestions please since the documentation is wrong.
Jason
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!Try RingCentral Workflow Builder