Skip to content

bondy.error.invalid_data ​

When the data values are invalid.

Description ​

Normally this is caused when there are request or input data validation failures.

Positional Results ​
0string

The error message

Keyword Results ​
codestring

invalid_data

descriptionstring

The error description

messagestring

The error message

errorsarray[object]

The errors details

#### Example
json
{
    "code":"invalid_data",
    "description":"There were 3 validation errors.",
    "errors":[
        {
            "code":"missing_required_value",
            "description":"A value for 'uri' is required.",
            "key":"uri",
            "message":"Missing required value."
        },
        {
            "code":"missing_required_value",
            "description":"A value for 'roles' is required.",
            "key":"roles",
            "message":"Missing required value."
        },
        {
            "code":"missing_required_value",
            "description":"A value for 'permissions' is required.",
            "key":"permissions",
            "message":"Missing required value"
        },
        "message":"Invalid data."
    ]
}

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-ShareAlike (CC-BY-SA) 4.0 International license.
Bondy and Leapsight are registered trademarks of Leapsight Technologies Ltd.