Hello,
My development team and I are developing an app and using RingCentral Team Messaging API.
We are using https://developers.ringcentral.com/api-reference/Posts/readGlipPostNew and https://developers.ringcentral.com/api-reference/Posts/readGlipPostsNew. According to these docs, we should be getting an attachment with 20+ fields, but instead when I:
- attach an image (or file/video) to a RingCentral chat
- fetch that chat with its messages
I get an array of attachment objects, and each object has these 4 fields:
attachments: {
contentUri: "https://dl.mvp.ringcentral.com/file/2222653882378",
id: "2222653882378",
name: "Screenshot 2023-04-04 at 10.07.47 AM.png"
type: "File"
}
but the image on the given uri doesn't exist, I get this error instead:
{"errors":[{"errorCode":"CMN-102","message":"Resource for parameter [fileId] is not found.","parameterName":"fileId"}]}
This happens with any image/file/video.
I assume it's because the contentUri is simply not valid.
What would be the course of action I could take in this situation?