chakradar-raju12876 avatar image
chakradar-raju12876 asked Phong Vu commented

Why does RC return 404 when trying to access recording?

Trying to download the recording url returned by RingCentral API is returning 404.

Recording uri got from call-log api endpoint, recording.contentUri property of a call object.

We did attach valid access token.

Why does RingCentral return 404?

rest api
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered Phong Vu commented

How did you download the content? Can you share some code snippet? Here is some example code using the RingCentral Node JS SDK

async function download_call_recording(){
    console.log("===== download_call_recording ======")
      const resp = await rcsdk.get("")
      var buf = await resp.buffer();
      fs.writeFile("new_recording.mp3", buf, function(){
    }catch (e){

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

chakradar-raju12876 avatar image chakradar-raju12876 commented ·

We try to download using Java client, but even curl is failing, can you check if the resource actually exists? What is the status of the resource?

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ chakradar-raju12876 commented ·

Where is your code snippet? Also, does this happen to all call recordings you have or just one of the recordings?

0 Likes 0 ·
chakradar-raju12876 avatar image chakradar-raju12876 Phong Vu ♦♦ commented ·
0 Likes 0 ·
Show more comments

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys