Skip to content

ERROR - Error while communicating with OpenAI: received 3000 (registered) invalid_request_error.invalid_api_key; then sent 3000 (registered) invalid_request_error.invalid_api_key. Terminating call. #25

@kstmostofa

Description

@kstmostofa

I am using the demo-summit version

call to STORE from 1000 below logs is getting in opensips container

Sep 15 19:55:03 [20] INFO:Received request with method: INVITE Sep 15 19:55:03 [20] NOTICE:new branch at sip:STORE@127.0.0.1:5080;transport=UDP Sep 15 19:55:03 [20] INFO:Onreply received for 0KoNmaLGHeZDatdmtf9bZQ.. with status 100 Sep 15 19:55:03 [20] NOTICE:incoming reply Sep 15 19:55:03 [22] INFO:Onreply received for 0KoNmaLGHeZDatdmtf9bZQ.. with status 200 Sep 15 19:55:03 [22] NOTICE:incoming reply Sep 15 19:55:03 [22] NOTICE:ACC: transaction answered: timestamp=1757966103;created=0;setuptime=1757966103;method=INVITE;from_tag=0b4ad346;to_tag=B2B.331.481.1757966102.925771609;call_id=0KoNmaLGHeZDatdmtf9bZQ..;code=200;reason=OK Sep 15 19:55:04 [20] INFO:Received request with method: ACK

and in engine container getting ERROR

2025-09-15 19:55:03,902 - tid: 130632738768704 - INFO - Bound to 0.0.0.0:39975 2025-09-15 19:55:03,902 - tid: 130632738768704 - INFO - handling B2B.331.481.1757966102.925771609 using openai AI 2025-09-15 19:55:05,900 - tid: 130632738768704 - ERROR - Error while communicating with OpenAI: received 3000 (registered) invalid_request_error.invalid_api_key; then sent 3000 (registered) invalid_request_error.invalid_api_key. Terminating call.

But my api key is correct and valid.

Please provide any suggestions or explanations on how this call routing will work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions