No idea why this is happening, the bulk export job for sip trunk recordings is failing with a 403 forbidden error when trying to pull data for a specific legal hold case. we are using the /api/v2/recording/bulkexports endpoint to initiate the export. the job starts in queued state but then moves to failed state after about 10 minutes. the error message in the response body says “access denied to storage bucket” but our s3 bucket policy is definitely correct because we can manually upload files there using the same aws credentials.
we are on genesys cloud release 23.2. the digital channels exports work fine with the same s3 integration settings. it is only the sip trunk recordings that are causing this issue. we have checked the recording metadata and the recordings exist in the system. the legal hold was applied to the interactions three days ago. the timezone for the interactions is Europe/London which matches our system config.
here is the request payload we are sending:
{
“destination”: {
“type”: “s3”,
“bucket”: “legal-hold-exports”,
“prefix”: “sip-trunk-case-123”
},
“filter”: {
“type”: “recording”,
“dateFrom”: “2023-10-01T00:00:00.000Z”,
“dateTo”: “2023-10-31T23:59:59.999Z”,
“mediaType”: “audio”
}
}
the api returns 201 created initially but then the job fails. we have tried regenerating the aws access keys but the problem persists. is there a specific permission required for sip trunk recordings that is different from digital channels? we need to maintain chain of custody for these recordings so we cannot just download them manually. any help would be appreciated. we are under pressure to deliver this data to the legal team by friday.