Discussions

Ask a Question
Back to All

api

{
"script":{
"tupe":"text",
"input":"hello im jeries "
},
"source_url":"https://images.fastcompany.net/image/upload/w_596,c_limit,q_auto:best,f_auto/wp-cms/uploads/2020/03/i-7b-90476758-how-you-design-a-robot-so-it-doesnand8217t-freak-patients-out.jpg"
}

"kind": "ValidationError",
"description": "validation failed",
"details": {
    "body.script": {
        "message": "Could not match the union against any of the items. Issues: [{\"body.script.type\":{\"message\":\"'type' is required\"}},{\"body.script.type\":{\"message\":\"'type' is required\"},\"body.script.audio_url\":{\"message\":\"'audio_url' is required\"}}]",
        "value": {
            "tupe": "text",
            "input": "hello im jeries "
        }
    }
}

}

im getting this error could you help