Discussions
ValidationError
Hi.
When I'm trying to add source_url in talks endpoint, I got this error
No connection adapters were found for "{'kind': 'ValidationError', 'description': 'validation failed', 'details': {'body.source_url': {'message': 'must be a valid image URL (ending with jpg|jpeg|png)', 'value': '<http://24.199.117.196:8000/static/images/Robert.png'}}}">
Can You help me with this?
Regards, Vitaly.
Posted by virtualik 11 months ago
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
Posted by jeriest59 12 months ago