Luis_Saiz | 2019-03-27 16:18:10 UTC | #1
Hello,
I am building a java app that gets the recordings using the conversation id.
GetConversationRecordingsRequest request = new GetConversationRecordingsRequest(); request.setConversationId(id); List<Recording> recordingList = new ArrayList<Recording>(); 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
Luis_Saiz | 2019-03-28 09:28:26 UTC | #2
I have just added all the permissions to the Role (the 28 pages), and the error still remains. What is wrong?
Thank you
tim.smith | 2019-03-28 20:24:30 UTC | #3
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.
system | 2019-04-28 20:24:30 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 4879