node.jsapiliveagora.iorecording

Agora cloud recording stop api always giving 404 response


https://api.agora.io/v1/apps/${config.agoraAppId}/cloud_recording/resourceid/${meetingComplete.resourceId}/sid/${meetingComplete.sid}/mode/mix/stop api getting below response always

 {
    resourceId: '',
    sid: '',
    code: 404,
    serverResponse: {
      command: 'StopCloudRecorder',
      payload: { message: 'Failed to find worker.' },
      subscribeModeBitmask: 1,
      vid: ''
    }
  }
}

Solution

  • The issue due to s3 bucket region specified in agora cloud recording start api mismatching with s3 bucket region in aws.