question

Dylan Bowman avatar image
Dylan Bowman asked Phong Vu answered

406 "Not Acceptable" @ https://platform.devtest.ringcentral.com/restapi/v1.0/~/accountId/recording/{recordingId}/content

I am getting a 406 error when I try to get the call recording from the API @ https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/recording/recordingId/content ... The error says "Not Acceptable". My headers are set to 'accept: audio/mpeg' and I've also tried 'accept: audio/x-wav' both of them return the same error. In the RC Office API page @ https://developers.ringcentral.com/api-reference/Call-Recordings/listCallRecordingData when I try to do a test there it gives me the same exact error. Please help me figure out how to get my call recording information.

rest apierrors
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

Check out this blog to see the Node JS code how to download a call recording file. Get the entire project source code from my GitHub repo

1 |3000

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

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