# Cloud transcript available but unable through api

**URL:** <https://devforum.zoom.us/t/cloud-transcript-available-but-unable-through-api/118125>\
**Category:** Cloud Recordings\
**Created:** [September 26, 2024, 6:40am UTC](https://devforum.zoom.us/t/cloud-transcript-available-but-unable-through-api/118125 "2024-09-26T06:40:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoom312](https://avatars.discourse-cdn.com/v4/letter/z/ebca7d/32.png) [@zoom312](https://devforum.zoom.us/u/zoom312)\
**Post date:** [September 26, 2024, 6:40am UTC](https://devforum.zoom.us/t/cloud-transcript-available-but-unable-through-api/118125/1 "2024-09-26T06:40:32Z")

</div>

I have transcript in cloud transcripts but when I try to fetch with api’s it shows me **error** this recording or transcript does not exists

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/a/7a5eb051ef3ed0873d10b80ddbd0bcc295756696.png)

```auto
const zoomAudioTranscribe = async (meetingId) => {
    try {
        const token = await getAccessToken();

        // First, check if the meeting exists
        const meetingUrl = `https://api.zoom.us/v2/meetings/${meetingId}`;
        const meetingResponse = await axios.get(meetingUrl, {
            headers: {
                'Authorization': `Bearer ${token}`,
                'Content-Type': 'application/json',
            },
        });

        if (meetingResponse.status === 200) {
            console.log('Meeting exists, proceeding to fetch recordings.');

            // Now fetch the recordings
            const recordingUrl = `https://api.zoom.us/v2/meetings/${meetingId}/recordings`;
            const recordingResponse = await axios.get(recordingUrl, {
                headers: {
                    'Authorization': `Bearer ${token}`,
                    'Content-Type': 'application/json',
                },
            });

            const recordingFiles = recordingResponse.data.recording_files;
            const transcript = recordingFiles.find(file => file.file_type === 'TRANSCRIPT');

            if (transcript) {
                console.log(`Transcription URL: ${transcript.download_url}`);
                return transcript.download_url;
            } else {
                console.log('Transcription not found.');
                return 'Transcription not found.';
            }
        }

    } catch (error) {
        if (error.response && error.response.data.code === 3301) {
            console.error('Error: This recording or transcript does not exist.');
            return 'Meeting exists, but no recording or transcript found.';
        } else {
            console.error(`Error: ${error.message}`);
            return `Error: ${error.message}`;
        }
    }
};

```
