KathirAXA | 2018-03-13 17:42:21 UTC | #1
Team,
I am trying to get chat transcripts using RecordingApi.getconversationrecordings(convId). Getting '403'. Please note that I am able to get successful responses from other APIs (Analytics, Conversations) for the client Ids used. Is there a different client ID/Secret Code needed for calling RecordingAPI? Or could it be something I would have missed in my process?
PureCloudPlatformClientV2.rest.ApiException: (403) Reason: Forbidden HTTP response body: {"status":403,"code":"recording.recording.view.permission.check.failed","message":"ForbiddenException: Recording view permission check failed for conversation {}","messageParams":{},"contextId":"6e49f3b1-493c-4343-be67-729341749c3d","details":[],"errors":[]}
Thanks, Kathir
tim.smith | 2018-03-13 18:55:17 UTC | #2
The role assigned to the oauth client is missing permissions required to access that recording. Try assigning the view/download permissions to the role:
KathirAXA | 2018-03-13 19:03:54 UTC | #3
Thanks Tim, who can grant these permissions? And where it is done? Should I use any APIs to grant these myself?
tim.smith | 2018-03-13 19:20:09 UTC | #4
Information about administering roles and permissions can be found on the Resource Center: https://help.mypurecloud.com/articles/about-roles-permissions/
KathirAXA | 2018-03-15 01:50:53 UTC | #5
Thanks Tim, got the permission and able to view the recordings.
system | 2018-04-15 01:50:59 UTC | #6
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: 2606