Original Message:
Sent: 09-26-2025 04:00
From: Yonezawa Takuya
Subject: Audio Connector Sample - Authentication Error
@Matheus Scharf
Hello, sorry to interrupt.
I'm also experiencing the same OpenAI authentication error and can't get the audio connector sample to work. If you've found a solution, would it be possible to share it?
Also, I believe there are syntax errors in the prompt section as well.
If you know a solution for that too, I'd appreciate it if you could let me know.
------------------------------
Yonezawa Takuya
------------------------------
Original Message:
Sent: 08-25-2025 13:24
From: Matheus Scharf
Subject: Audio Connector Sample - Authentication Error
Thank you @Armands Bunkovskis
I will adjust it and try again.
------------------------------
Matheus ScharfMatheus Scharf
Original Message:
Sent: 08-15-2025 02:57
From: Armands Bunkovskis
Subject: Audio Connector Sample - Authentication Error
Hi!
In open-ai.ts file the header format should be as follows:
headers: {
Authorization: `Bearer ${OPENAI_API_KEY}`,
"OpenAI-Beta": "realtime=v1"
}
------------------------------
Armands Bunkovskis
Adventus Solutions Sia
Original Message:
Sent: 08-14-2025 18:42
From: Matheus Scharf
Subject: Audio Connector Sample - Authentication Error
Hi George. Thanks for your answer.
I configured the OPENAI_API_KEY inside of .env file.
Can I access 'wss://api.openai.com/v1/realtime?model=gpt-4o-realtime-preview-2024-10-01' with my OPENAI_API_KEY? Does not makes sense to me.
------------------------------
Matheus Scharf
Original Message:
Sent: 08-13-2025 19:26
From: George Ganahl
Subject: Audio Connector Sample - Authentication Error
Looking at the open-ai.ts file I am wondering if perhaps you did not supply a valid OpenAI key?
------------------------------
George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
Technical Adoption Champion
Genesys
2024 Community Member of the Year