Issue Fix

Upload 404 warning	doc_set(merge=True) in upload.py — creates doc if missing
MQTT call_end 404 error	doc_set(merge=True) in mqtt_handler.py — same root cause
Transcription 404 (saving transcript to nonexistent doc)	doc_set(merge=True) in transcription.py
Transcription ADC credentials error	Explicit service_account.Credentials from gcp-key.json in _sync_transcribe — same pattern as storage.py
This commit is contained in:
Logan
2026-04-12 22:04:11 -04:00
parent 66316efa53
commit 357553f1ea
3 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ async def upload_call_audio(
if audio_url:
try:
await fstore.doc_update("calls", call_id, {"audio_url": audio_url})
await fstore.doc_set("calls", call_id, {"audio_url": audio_url})
except Exception as e:
logger.warning(f"Could not update call {call_id} with audio_url: {e}")