Contact center recording api return 404 or 401 errors

Before Creating a New Topic:

If you’re experiencing unexpected API/Zoom API Events (webhooks) behavior please search the forum with relevant keywords (e.x. error message) and follow the guidance outlined in those posts. Please also leverage the following support links:


Format Your New Topic as Follows:

API Endpoint(s) and/or Zoom API Event(s)
Link the API endpoint(s) and/orZoom API Event(s) you’re working with to help give context.

Description
Question related to get the recording, there are two cases, we might get 401 and 404 errors. Want to understand how customer users can change their settings to allow the app to get the recordings instead of return these two errors? In other words, what are the settings prevent to get the calls, because we are able to get some of the rrecordings of the calls.

I provided example for each scenario as below:

Error?

404:

Error response: {"code":2805,"message":"Engagement recordings does not exist or you do not have the corresponding operation authority: aWshLdz2QwyLa3E4aoZGww."} 

401: unauthorized:

https://api.zoom.us/v2/contact_center/engagements/IY1JRe3ITECnDpOl9qZPVw/recordings
return 401 unauthorized

How To Reproduce
It is a backend api call with correct credential

Hi @Joel3 your customer user needs to be an account owner or admin with the contact center role permissions enabled.

Here’s how account owners can navigate role permissions: Using role management . They will need to select read permission under the Contact Center section for settings that corresponds with this scope contact_center:read:list_recordings:admin

Hi Gianni,

Thank you for the quick response. the reason we got partial of the calls is because the user provide the authentication to us not full admin or owner?

Best,
Joel