Hello, when I try to download recordings of the Email interactions with the API /api/v2/recording/batchrequests/ in the response the contentType field is "application/zip" if I download that file as a .zip then it doesn't let me unzip it (unknown or corrupted file), How can I download these kinds of recordings?
I have just tried the nodejs version of the tutorial, to download email conversations only, and it is working fine for me. I can open the zip archives (note: I am using a Mac).
What I would suggest is that you try to access one of your resultUrl, from a browser tab - to test the download of one of these archives and check if your zip is still corrupted.
If it is also corrupted, I would suggest you open a case with Genesys Cloud Care.
If it is not corrupted, I would suggest you focus on debugging the equivalent of the downloadRecording method you implemented in python (as your problem could be there). You don't need to run your full script every time - just extract one of the resultUrl and try your downloadRecording method to verify that you are fetching the url properly.
Thanks Jerome, I don't know what I would be doing yesterday, but today I tried first with a zip from the browser (as you have recommended) and then through development with Python and both worked correctly.