Problem retrieving recordings

Hello,

I am building a java app that gets the recordings using the conversation id.

GetConversationRecordingsRequest request = new GetConversationRecordingsRequest();
request.setConversationId(id);
List recordingList = new ArrayList();
recordingList = apiInstance.getConversationRecordings(request);

It returns the next API exception,

{"status":403,"code":"recording.recording.view.permission.check.failed","message":"ForbiddenException: Recording view permission check failed for conversation 89901a7b-7366-4e0f-af91-70830a00b456","messageWithParams":"Recording view permission check failed for conversation {conversationId}'","messageParams":{},"contextId":"c02aa712-c345-478f-a68e-bfb292e80b29","details":[],"errors":[]}

I have checked that the role used by the oAuth Client, using the client credentials grant type, has the "Recording>All Permissions" assignated.

I am missing something else?

Thank you

Regards

I have just added all the permissions to the Role (the 28 pages), and the error still remains. What is wrong?

Thank you

This is supposed to work with client credentials, and I was able to perform a successful test that way. I chatted with the dev team for this API and there's not a clear answer why this is failing. Please open a case with PureCloud Care for further investigation.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.