Discussions

Ask a Question
Back to All

500 InternalServerError

Hello.

I am trying to call https://docs.d-id.com/reference/createvideoagentstream , but receive 500 error code.

Could you help me to clarify the root cause?

POST https://api.d-id.com/agents/agt_quxsUSIW/streams/strm_Yp-6gNsOTgRteUJ5vybUy_EKS

BODY
{
    "script":{
        "type":"text",
        "provider":{
            "type":"microsoft",
            "voice_id":"Sara"
        },
        "ssml":"false",
        "input": "test text input"
    },
    "user_data": "my-custom data",
    "config":{
        "fluent":"false",
        "pad_audio":"0.0"
    },
    "audio_optimization":"2"
}

Response
500 Internal Server Error
{
    "kind": "InternalServerError",
    "description": "Stream Error"
}

Thanks