I am observing an intermittent issue with the Google Meet API where fetching transcript entries immediately after receiving a transcriptFileGenerated event returns an incomplete list.
The Workflow
-
Our application listens for the
google.workspace.meet.transcript.v2.fileGeneratedevents. -
Upon receiving the event, we call
conferenceRecords.transcripts.entries.listand iterate through all pages to retrieve the full transcript.
The Issue
Recently, we encountered a case where the API returned only 4 entries immediately after the event. However, when calling the exact same endpoint several days later, the API returned the full list of ~500 entries.
Technical Context & Debugging
-
Application Logic: We have verified our pagination logic and error handling. No possible causes were found.
-
After that event, we have begun logging the
statefrom theconferenceRecords.transcriptsAPI. Out of ~10,000 processed events, the state has consistently beenFILE_GENERATED.
Questions
-
Does receiving the
google.workspace.meet.transcript.v2.fileGeneratedevent guarantee that all transcript entries are available via theentries.listmethod? The documentation states that it indicates the transcript file is generated, but I couldn’t tell whether it also means the API is ready to be called. -
Are there known edge cases where the file generation event is fired before the
entriessub-resource is fully populated?
Any insights or recommendations on how to handle this more robustly would be greatly appreciated!