You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upload the .m4a example audio file to a storage in the path such as: {lang_code}/{user_id}/audio.m4a
Wait for the transcription and check the result – it produces invalid JSON, which I cannot parse on the iOS app not with JSONDecoder, not with JSONSerialization.
Expected result
API generates a valid JSON transcription.
Actual result
iOS (Swift) cannot decode the invalid JSON file. I think this {} in the empty array might be the reason:
[REQUIRED] Step 2: Describe your configuration
speech-to-textgooglecloud/speech-to-text@0.1.6 (slightly modified)language code is en-USindex.js:https://gitlab.com/nevinchanyik/RED/-/blob/main/RED/GoogleCloudAPI/index.js?ref_type=heads
transcribe-audio.js:https://gitlab.com/nevinchanyik/RED/-/blob/main/RED/GoogleCloudAPI/transcribe-audio.js?ref_type=heads
https://firebasestorage.googleapis.com/v0/b/red-speech-to-text.firebasestorage.app/o/en-US%2FWt4XTR1eEodQYRBDkokFEBXJzNr1%2FWt4XTR1eEodQYRBDkokFEBXJzNr1-769399928.814137.m4a?alt=media&token=862e7332-1e7e-41ce-96e1-6cb507d7b677
https://firebasestorage.googleapis.com/v0/b/red-speech-to-text.firebasestorage.app/o/en-US%2FWt4XTR1eEodQYRBDkokFEBXJzNr1%2FWt4XTR1eEodQYRBDkokFEBXJzNr1-769399928.814137.m4a.wav_transcription.txt?alt=media&token=92dd3535-886c-4559-81d4-7637ce25e5c3
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
Expected result
API generates a valid JSON transcription.
Actual result
iOS (Swift) cannot decode the invalid JSON file. I think this
{}in the empty array might be the reason: