Solved

Permission error when accessing a recording from another account under the same company

  • 17 September 2023
  • 1 reply
  • 337 views

Hi my team is currently developing an app that allows access to recordings of their users/agent after each support calls the app is still in sandbox the account Im using is a developer admin but for some reason I get this error: { "errorCode": "CMN-419", "message": "In order to call this API endpoint for another extension, one of the following permissions [ReadCallRecordings] have to be granted with extended scope to the authorized user.", "errors": [ { "errorCode": "CMN-419", "message": "In order to call this API endpoint for another extension, one of the following permissions [ReadCallRecordings] have to be granted with extended scope to the authorized user.", "permissionsName": "ReadCallRecordings" } ], "permissionsName": "ReadCallRecordings" } I really don't understand what is happening here. Also, I made sure that the app already has the necessary app scope: 1694959240450.png But still no good no luck the issue still persists if I access a recording from a different ext under the same company. Any idea what am I missing here?
icon

Best answer by Phong1426275020 18 September 2023, 16:23

View original

1 reply

Userlevel 1
The error message here is slightly misleading because it implies the fix can be found by updating user permissions. And perhaps that is true from a certain point of view. However, the root cause is ultimately about one user trying to perform an action on behalf of another user, but not having permission to do. For example, only two people can access a call recording: the person who recorded the call, and the Super Admin within the account. You can fix the problem above , but accessing the user's recordings while logged in as a Super Admin.

Reply