You may get a 404 error for the following reasons:
transcoding settings. See How do I set the video profile of the recorded video? for detailed information about setting transcoding.accessKey or secretKey, is incorrect, resulting in a failure to upload the recorded files. If you have enabled Agora Message Notification Service, you will receive the cloud_recording_error callback when the service detects that your cloud storage settings are incorrect.token in clientRequest is incorrect. Check if your application has App Certificate enabled. If so, ensure you enter the correct dynamic key; otherwise, you do not need to set this parameter. See Set up Authentication.maxIdleTime.query, updateLayout, or stop. It may take the fault processing center a maximum of 90 seconds to troubleshoot and act accordingly. You can call query again after a certain period of time to query whether the service is back up. See Fault processing when a cloud recording server is disconnected or the process killed for details.