Discussions

Ask a Question
Back to All

Create Talks Bad request

Good morning.

I'm trying to make a new talk. I followed all the documentation and videos, but I consistently get "400 Bad Request."

This is the response

{
    "kind": "ValidationError",
    "description": "validation failed",
    "details": {
        "body.script": {
            "message": "'script' is required"
        }
    }
}

This is the URL

https://api.d-id.com/talks

This is the Body

{
    "script": {
        "type": "text",
        "input": "Hello world!"
    },
    "source_url": "https://asistente.codigosolido.com/img/ana.jpg"
}

Authentication is done as documented