The endpoint GET /ari/recordings/stored/{recordingName}/file returns Content-Type: audio/wav, but the ari-client expects json (Accept: application/json), and tries to parse it as such, resulting in the error above. The data starts with RIFF, hence the mention of 'R' . See below.
GET /ari/recordings/stored/321b241e-18c1-46f4-ad5f-1e521ce5d25c/file HTTP/1.1
user-agent: Shred
Accept: application/json
Authorization: Basic ********************************
Host: node-101:8088
Connection: close
The endpoint
GET /ari/recordings/stored/{recordingName}/file
returnsContent-Type: audio/wav
, but the ari-client expects json (Accept: application/json
), and tries to parse it as such, resulting in the error above. The data starts withRIFF
, hence the mention of 'R' . See below.reply: